Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.00109/0.00109, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001158/0.001158, allocations: 173 kB / 23.35 MB, free: 1.137 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 1.013/1.013, allocations: 177.1 MB / 203.8 MB, free: 5.453 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-545:108: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-545:116: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.8611/0.8611, allocations: 154.6 MB / 414.8 MB, free: 496 kB / 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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 480.1 MB, free: 6.859 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.491e-05, allocations: 4.422 kB / 480.1 MB, free: 6.855 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.009887/0.009912, allocations: 11.6 MB / 491.7 MB, free: 11.26 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.007435/0.01735, allocations: 3.71 MB / 495.4 MB, free: 7.57 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002386/0.01973, allocations: 115.7 kB / 495.5 MB, free: 7.457 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.02162, allocations: 0.4939 MB / 496 MB, free: 6.961 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003249/0.02487, allocations: 1.104 MB / 497.1 MB, free: 5.859 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.02753, allocations: 1.022 MB / 498.1 MB, free: 4.84 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.006572/0.0341, allocations: 4.884 MB / 0.4912 GB, free: 15.95 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003666/0.03777, allocations: 3.316 MB / 0.4944 GB, free: 12.54 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003238/0.04101, allocations: 3 MB / 0.4974 GB, free: 9.539 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/0.04335, allocations: 2.286 MB / 0.4996 GB, free: 7.262 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004232/0.04378, allocations: 428 kB / 0.5 GB, free: 6.844 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006598/0.04444, allocations: 0.5213 MB / 0.5005 GB, free: 6.324 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.04549, allocations: 1.805 MB / 0.5023 GB, free: 4.516 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.04659, allocations: 1.341 MB / 0.5036 GB, free: 3.172 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002472/0.04906, allocations: 3.358 MB / 0.5069 GB, free: 15.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.04907, allocations: 0 / 0.5069 GB, free: 15.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.04907, allocations: 0 / 0.5069 GB, free: 15.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.778e-05/0.04912, allocations: 0.7812 kB / 0.5069 GB, free: 15.8 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.003129/0.05225, allocations: 3.219 MB / 0.51 GB, free: 12.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.05228, allocations: 12.81 kB / 0.51 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.05427, allocations: 0.8168 MB / 0.5108 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.05598, allocations: 1.551 MB / 0.5123 GB, free: 10.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.0561, allocations: 227.4 kB / 0.5126 GB, free: 9.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003093/0.05641, allocations: 300.3 kB / 0.5128 GB, free: 9.617 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/0.05913, allocations: 2.869 MB / 0.5156 GB, free: 6.461 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.422e-05/0.05918, allocations: 17.14 kB / 0.5157 GB, free: 6.445 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001981/0.05938, allocations: 135.9 kB / 0.5158 GB, free: 6.312 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002221/0.0596, allocations: 214.9 kB / 0.516 GB, free: 6.102 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.06079, allocations: 0.7843 MB / 0.5168 GB, free: 5.309 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007748/0.06854, allocations: 10.39 MB / 0.5269 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005265/0.06907, allocations: 0.534 MB / 0.5274 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.06944, allocations: 334.7 kB / 0.5277 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-05/0.06949, allocations: 19.78 kB / 0.5278 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.06952, allocations: 47.56 kB / 0.5278 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=107): time 2.675e-06/0.06952, allocations: 0 / 0.5278 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of matching and sorting (n=110): time 0.00743/0.07695, allocations: 3.925 MB / 0.5316 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.07698, allocations: 60.41 kB / 0.5317 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005586/0.07754, allocations: 0.8882 MB / 0.5326 GB, free: 4.957 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.07759, allocations: 42.55 kB / 0.5326 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004577/0.07805, allocations: 1.199 MB / 0.5338 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.07824, allocations: 400.5 kB / 0.5342 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.07847, allocations: 240.5 kB / 0.5344 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.07857, allocations: 361.8 kB / 0.5347 GB, free: 2.699 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.07877, allocations: 151.9 kB / 0.5349 GB, free: 2.551 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.07915, allocations: 0.5495 MB / 0.5354 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006867/0.07984, allocations: 0.8406 MB / 0.5362 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.07984, allocations: 7.938 kB / 0.5362 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00146/0.0813, allocations: 1.15 MB / 0.5374 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.08132, allocations: 12 kB / 0.5374 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.08134, allocations: 12 kB / 0.5374 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.08255, allocations: 0.5788 MB / 0.538 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.08302, allocations: 235.6 kB / 0.5382 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004313/0.08733, allocations: 4.596 MB / 0.5427 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/0.08769, allocations: 43.92 kB / 0.5427 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.842e-05/0.08775, allocations: 44 kB / 0.5428 GB, free: 9.988 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (125): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,25,88.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004141/0.08817, allocations: 196.3 kB / 0.5429 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.08831, allocations: 127.9 kB / 0.5431 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.08985, allocations: 0.9958 MB / 0.544 GB, free: 8.645 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.08985, allocations: 12 kB / 0.544 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.08986, allocations: 9.031 kB / 0.5441 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.08987, allocations: 3.984 kB / 0.5441 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.09267, allocations: 2.19 MB / 0.5462 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.09267, allocations: 4 kB / 0.5462 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.09296, allocations: 111.8 kB / 0.5463 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/0.09415, allocations: 0.5604 MB / 0.5469 GB, free: 5.676 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.083e-05/0.0942, allocations: 28 kB / 0.5469 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00458/0.09878, allocations: 4.613 MB / 0.5514 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.09878, allocations: 0 / 0.5514 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.1007, allocations: 1.136 MB / 0.5525 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/0.101, allocations: 211 kB / 0.5527 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.1012, allocations: 23.95 kB / 0.5527 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/0.1017, allocations: 28 kB / 0.5527 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/0.1019, allocations: 100.7 kB / 0.5528 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.102, allocations: 24 kB / 0.5529 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004995/0.1025, allocations: 433.9 kB / 0.5533 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1025, allocations: 0 / 0.5533 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001147/0.1036, allocations: 0.5898 MB / 0.5539 GB, free: 14.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,84.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000159/0.1038, allocations: 116.2 kB / 0.554 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001336/0.1051, allocations: 1.256 MB / 0.5552 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.213e-05/0.1051, allocations: 17.81 kB / 0.5552 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000858/0.106, allocations: 0.9192 MB / 0.5561 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009464/0.1069, allocations: 464.1 kB / 0.5566 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004836/0.1118, allocations: 4.653 MB / 0.5611 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/0.1124, allocations: 0.758 MB / 0.5618 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004058/0.1128, allocations: 172.6 kB / 0.562 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005745/0.1134, allocations: 387.1 kB / 0.5624 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of SimCode: time 1.012e-06/0.1134, allocations: 3.938 kB / 0.5624 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of Templates: time 0.03382/0.1472, allocations: 29.33 MB / 0.591 GB, free: 8.699 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.157313148956746]