Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0007809/0.0007809, allocations: 80.53 kB / 19.93 MB, free: 4.609 MB / 18.57 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.0007556/0.0007556, allocations: 181.2 kB / 23.22 MB, free: 1.32 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.8362/0.8362, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7011/0.7011, allocations: 154.6 MB / 414.5 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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: translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.6194 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.384e-05, allocations: 5.781 kB / 0.6194 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02293/0.02296, allocations: 32.97 MB / 0.6516 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01164/0.03459, allocations: 9.878 MB / 0.6612 GB, free: 2.164 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.03604, allocations: 194.6 kB / 0.6614 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003916/0.03996, allocations: 3.832 MB / 0.6651 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002966/0.04292, allocations: 2.206 MB / 0.6673 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003072/0.046, allocations: 1.982 MB / 0.6692 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006246/0.05224, allocations: 8.129 MB / 0.6772 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.275/0.3272, allocations: 5.25 MB / 0.6823 GB, free: 53.03 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004941/0.3321, allocations: 4.891 MB / 0.6871 GB, free: 53.03 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00249/0.3346, allocations: 3.459 MB / 0.6904 GB, free: 53.03 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005114/0.3351, allocations: 0.6801 MB / 0.6911 GB, free: 53.03 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.3366, allocations: 1.373 MB / 0.6924 GB, free: 53.03 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001291/0.3379, allocations: 2.806 MB / 0.6952 GB, free: 53.02 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.3392, allocations: 2.17 MB / 0.6973 GB, free: 52.81 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005934/0.3451, allocations: 10.57 MB / 0.7076 GB, free: 52.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3451, allocations: 0.5156 kB / 0.7076 GB, free: 52.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3451, allocations: 0.75 kB / 0.7076 GB, free: 52.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001142/0.3452, allocations: 0 / 0.7076 GB, free: 52.25 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.006457/0.3517, allocations: 5.408 MB / 0.7129 GB, free: 50.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3517, allocations: 9.031 kB / 0.7129 GB, free: 50.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002478/0.3542, allocations: 1 MB / 0.7139 GB, free: 49.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003676/0.3579, allocations: 3.135 MB / 0.717 GB, free: 48.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.3581, allocations: 358 kB / 0.7173 GB, free: 48.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005324/0.3586, allocations: 467.2 kB / 0.7177 GB, free: 48.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008632/0.3672, allocations: 8.662 MB / 0.7262 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.57e-05/0.3673, allocations: 26.89 kB / 0.7262 GB, free: 43.97 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003538/0.3677, allocations: 210.8 kB / 0.7264 GB, free: 43.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003597/0.368, allocations: 372.4 kB / 0.7268 GB, free: 43.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006453/0.3745, allocations: 5.931 MB / 0.7326 GB, free: 41.77 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01637/0.3908, allocations: 22.9 MB / 0.7549 GB, free: 26.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.3929, allocations: 1.992 MB / 0.7569 GB, free: 25.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.394, allocations: 1.342 MB / 0.7582 GB, free: 24.99 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.742e-05/0.3941, allocations: 20.94 kB / 0.7582 GB, free: 24.99 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.3941, allocations: 55.62 kB / 0.7583 GB, free: 24.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=157): time 3.166e-06/0.3941, allocations: 0 / 0.7583 GB, free: 24.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=160): time 0.007338/0.4014, allocations: 6.64 MB / 0.7648 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.4015, allocations: 79.81 kB / 0.7648 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.4027, allocations: 1.704 MB / 0.7665 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.041e-05/0.4028, allocations: 52.27 kB / 0.7665 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.00059/0.4034, allocations: 2.189 MB / 0.7687 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.4036, allocations: 0.5767 MB / 0.7692 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003406/0.4039, allocations: 400.9 kB / 0.7696 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.757e-05/0.404, allocations: 301.1 kB / 0.7699 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008803/0.4048, allocations: 1.061 MB / 0.771 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.4059, allocations: 1.764 MB / 0.7727 GB, free: 16.22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.408, allocations: 3.043 MB / 0.7756 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.408, allocations: 7.344 kB / 0.7757 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.003334/0.4114, allocations: 3.889 MB / 0.7795 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.4114, allocations: 19.75 kB / 0.7795 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.4114, allocations: 21.28 kB / 0.7795 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.4127, allocations: 0.9344 MB / 0.7804 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007449/0.4134, allocations: 426.2 kB / 0.7808 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/0.4243, allocations: 21.1 MB / 0.8014 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.4254, allocations: 127.9 kB / 0.8015 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.4255, allocations: 92 kB / 0.8016 GB, free: 6.09 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003155/0.4287, allocations: 1.64 MB / 0.8032 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.4289, allocations: 250.5 kB / 0.8035 GB, free: 4.223 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003363/0.4323, allocations: 3.236 MB / 0.8066 GB, free: 0.9688 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.4323, allocations: 16 kB / 0.8066 GB, free: 0.9531 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.4323, allocations: 11.98 kB / 0.8067 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.4323, allocations: 7.969 kB / 0.8067 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007353/0.4396, allocations: 6.445 MB / 0.813 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.4396, allocations: 4 kB / 0.813 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004436/0.4401, allocations: 216.9 kB / 0.8132 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/0.4413, allocations: 0.8864 MB / 0.814 GB, free: 9.332 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.701e-05/0.4413, allocations: 39.92 kB / 0.8141 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/0.4532, allocations: 21.07 MB / 0.8346 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4532, allocations: 4 kB / 0.8346 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003361/0.4566, allocations: 3.338 MB / 0.8379 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007124/0.4573, allocations: 452.1 kB / 0.8383 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.4574, allocations: 35.98 kB / 0.8384 GB, free: 15.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005487/0.458, allocations: 87.89 kB / 0.8385 GB, free: 15.13 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002688/0.4583, allocations: 155.7 kB / 0.8386 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.16e-05/0.4583, allocations: 44 kB / 0.8386 GB, free: 14.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001301/0.4596, allocations: 1.09 MB / 0.8397 GB, free: 13.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.4596, allocations: 0 / 0.8397 GB, free: 13.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002083/0.4617, allocations: 0.9023 MB / 0.8406 GB, free: 12.93 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001946/0.4619, allocations: 159.7 kB / 0.8407 GB, free: 12.78 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004693/0.4666, allocations: 4.289 MB / 0.8449 GB, free: 8.477 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/0.4666, allocations: 8.125 kB / 0.8449 GB, free: 8.469 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002615/0.4692, allocations: 2.885 MB / 0.8478 GB, free: 5.457 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/0.4715, allocations: 0.7704 MB / 0.8485 GB, free: 4.719 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.4836, allocations: 8.416 MB / 0.8567 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002748/0.4863, allocations: 2.742 MB / 0.8594 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006577/0.487, allocations: 152.5 kB / 0.8596 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of SimCode: time 1.463e-06/0.487, allocations: 0 / 0.8596 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of Templates: time 0.4518/0.9388, allocations: 340.5 MB / 1.192 GB, free: 129.5 MB / 0.8386 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.198035185225308] Failed to read output from testmodel.py, exit status != 0: 0.9453611979261041 0.951190762 0.604609489 Calling exit ...