Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009124/0.0009124, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9139/0.9139, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7301/0.7301, allocations: 154.6 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.506e-05, allocations: 5.094 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004284/0.004309, allocations: 4.601 MB / 0.6225 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003709/0.008018, allocations: 2.416 MB / 0.6249 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002926/0.008311, allocations: 39.56 kB / 0.6249 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0008278/0.009138, allocations: 397.8 kB / 0.6253 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.01017, allocations: 493.1 kB / 0.6258 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006631/0.01084, allocations: 405.5 kB / 0.6262 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0008088/0.01165, allocations: 0.9602 MB / 0.6271 GB, free: 4.438 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004321/0.01208, allocations: 318.4 kB / 0.6274 GB, free: 4.117 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005331/0.01261, allocations: 490.7 kB / 0.6279 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.01295, allocations: 319 kB / 0.6282 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.467e-05/0.01299, allocations: 36 kB / 0.6282 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004415/0.01343, allocations: 366.9 kB / 0.6286 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.01357, allocations: 187.4 kB / 0.6287 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.01373, allocations: 219.4 kB / 0.6289 GB, free: 2.531 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0007218/0.01445, allocations: 0.9072 MB / 0.6298 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.01445, allocations: 0 / 0.6298 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.192e-06/0.01446, allocations: 0 / 0.6298 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.01446, allocations: 0 / 0.6298 GB, free: 1.621 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0009512/0.01541, allocations: 0.8857 MB / 0.6307 GB, free: 0.6992 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.01546, allocations: 13.47 kB / 0.6307 GB, free: 0.6875 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.405e-05/0.01553, allocations: 86.7 kB / 0.6308 GB, free: 0.5938 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006933/0.01622, allocations: 212.2 kB / 0.631 GB, free: 396 kB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005765/0.0168, allocations: 492 kB / 0.6315 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.01683, allocations: 37.36 kB / 0.6315 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.669e-05/0.01688, allocations: 48.3 kB / 0.6315 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007991/0.01768, allocations: 0.9742 MB / 0.6325 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.0177, allocations: 12.06 kB / 0.6325 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.01774, allocations: 24.12 kB / 0.6325 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003309/0.01807, allocations: 60.95 kB / 0.6326 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005755/0.01865, allocations: 0.5695 MB / 0.6331 GB, free: 14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002692/0.02134, allocations: 4.701 MB / 0.6377 GB, free: 9.109 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.02177, allocations: 430.2 kB / 0.6381 GB, free: 8.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.02198, allocations: 200.7 kB / 0.6383 GB, free: 8.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.022, allocations: 4 kB / 0.6383 GB, free: 8.477 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.02202, allocations: 34.56 kB / 0.6384 GB, free: 8.434 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 1.502e-06/0.02202, allocations: 0 / 0.6384 GB, free: 8.434 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001562/0.02358, allocations: 1.138 MB / 0.6395 GB, free: 7.273 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.02362, allocations: 59.62 kB / 0.6395 GB, free: 7.203 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.02402, allocations: 0.5107 MB / 0.64 GB, free: 6.684 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.02404, allocations: 29.7 kB / 0.6401 GB, free: 6.648 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.02421, allocations: 363.7 kB / 0.6404 GB, free: 6.289 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.744e-05/0.02428, allocations: 134.9 kB / 0.6405 GB, free: 6.156 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.639e-05/0.02438, allocations: 114.2 kB / 0.6407 GB, free: 6.039 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.02448, allocations: 366.8 kB / 0.641 GB, free: 5.672 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.02468, allocations: 197.2 kB / 0.6412 GB, free: 5.477 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.02499, allocations: 447.3 kB / 0.6416 GB, free: 4.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000577/0.02557, allocations: 0.6887 MB / 0.6423 GB, free: 4.121 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.02557, allocations: 4 kB / 0.6423 GB, free: 4.117 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008304/0.0264, allocations: 0.8099 MB / 0.6431 GB, free: 3.285 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.02642, allocations: 12.03 kB / 0.6431 GB, free: 3.273 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.02643, allocations: 8 kB / 0.6431 GB, free: 3.266 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003082/0.02674, allocations: 152.1 kB / 0.6433 GB, free: 3.102 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.027, allocations: 119.8 kB / 0.6434 GB, free: 2.984 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.02915, allocations: 4.033 MB / 0.6473 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.02935, allocations: 27.98 kB / 0.6473 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.02938, allocations: 35.98 kB / 0.6474 GB, free: 14.54 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000182/0.02956, allocations: 211.3 kB / 0.6476 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.02962, allocations: 67.58 kB / 0.6476 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006564/0.03027, allocations: 0.5893 MB / 0.6482 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.03027, allocations: 8 kB / 0.6482 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.03028, allocations: 4 kB / 0.6482 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.03028, allocations: 3.984 kB / 0.6482 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.0314, allocations: 1.179 MB / 0.6494 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.0314, allocations: 8 kB / 0.6494 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.03153, allocations: 51.89 kB / 0.6494 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002317/0.03176, allocations: 148.3 kB / 0.6496 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.03178, allocations: 11.98 kB / 0.6496 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/0.03364, allocations: 4.002 MB / 0.6535 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.03365, allocations: 15.89 kB / 0.6535 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006174/0.03426, allocations: 0.7055 MB / 0.6542 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.03438, allocations: 95.48 kB / 0.6543 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.03441, allocations: 11.98 kB / 0.6543 GB, free: 6.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.03454, allocations: 27.97 kB / 0.6543 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.03459, allocations: 35.83 kB / 0.6544 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.03461, allocations: 8 kB / 0.6544 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000233/0.03484, allocations: 342.8 kB / 0.6547 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.03484, allocations: 0 / 0.6547 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003903/0.03523, allocations: 144 kB / 0.6548 GB, free: 6.367 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007982/0.03603, allocations: 1.256 MB / 0.6561 GB, free: 5.051 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000808/0.03683, allocations: 0.8653 MB / 0.6569 GB, free: 4.141 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.03684, allocations: 1.125 kB / 0.6569 GB, free: 4.141 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004093/0.03725, allocations: 0.5683 MB / 0.6575 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.03786, allocations: 198.6 kB / 0.6576 GB, free: 3.344 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004195/0.04206, allocations: 5.148 MB / 0.6627 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.04226, allocations: 312.1 kB / 0.663 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002062/0.04247, allocations: 125.3 kB / 0.6631 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.04265, allocations: 192.4 kB / 0.6633 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/0.04265, allocations: 0 / 0.6633 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2829/0.3256, allocations: 14.4 MB / 0.6773 GB, free: 95.35 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.25/7.575, allocations: 2.234 kB / 0.6773 GB, free: 95.35 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.295645481906831] Failed to read output from testmodel.py, exit status != 0: 7.66287805326283 7.670798505 7.654792634 Calling exit ...