Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.0009673/0.0009673, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 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.001129/0.001129, allocations: 169 kB / 23.02 MB, free: 1.543 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.942/0.942, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.733/0.733, allocations: 154.6 MB / 414.5 MB, free: 0.6602 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.5203 GB, free: 1.121 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.449e-05, allocations: 4.906 kB / 0.5203 GB, free: 1.117 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004194/0.004219, allocations: 4.16 MB / 0.5244 GB, free: 12.96 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.006408, allocations: 1.545 MB / 0.5259 GB, free: 11.41 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002834/0.006691, allocations: 32.59 kB / 0.5259 GB, free: 11.38 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.007233, allocations: 170.8 kB / 0.5261 GB, free: 11.21 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000619/0.007852, allocations: 365.2 kB / 0.5264 GB, free: 10.86 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006193/0.008471, allocations: 342.3 kB / 0.5268 GB, free: 10.53 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008351/0.009307, allocations: 0.9902 MB / 0.5277 GB, free: 9.535 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004438/0.00975, allocations: 382.5 kB / 0.5281 GB, free: 9.156 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005373/0.01029, allocations: 0.5151 MB / 0.5286 GB, free: 8.641 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004375/0.01073, allocations: 391.8 kB / 0.529 GB, free: 8.258 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.324e-05/0.01079, allocations: 49.22 kB / 0.529 GB, free: 8.211 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002208/0.01101, allocations: 131.8 kB / 0.5291 GB, free: 8.082 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.01118, allocations: 259.3 kB / 0.5294 GB, free: 7.828 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.01136, allocations: 244 kB / 0.5296 GB, free: 7.59 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005607/0.01192, allocations: 0.5955 MB / 0.5302 GB, free: 6.992 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.01192, allocations: 1.812 kB / 0.5302 GB, free: 6.992 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01193, allocations: 0 / 0.5302 GB, free: 6.992 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.01193, allocations: 0 / 0.5302 GB, free: 6.992 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0009922/0.01293, allocations: 0.9835 MB / 0.5312 GB, free: 5.973 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.01296, allocations: 8.531 kB / 0.5312 GB, free: 5.965 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007329/0.01369, allocations: 275.5 kB / 0.5314 GB, free: 5.699 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004986/0.01419, allocations: 473.7 kB / 0.5319 GB, free: 5.215 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.01422, allocations: 41.36 kB / 0.5319 GB, free: 5.176 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.01433, allocations: 56.45 kB / 0.532 GB, free: 5.121 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007426/0.01507, allocations: 0.7961 MB / 0.5328 GB, free: 4.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.01511, allocations: 4.125 kB / 0.5328 GB, free: 4.176 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.47e-05/0.01517, allocations: 40.09 kB / 0.5328 GB, free: 4.137 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001572/0.01533, allocations: 60.95 kB / 0.5329 GB, free: 4.078 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005864/0.01591, allocations: 276.2 kB / 0.5331 GB, free: 3.812 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003613/0.01953, allocations: 4.432 MB / 0.5374 GB, free: 15.23 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.01987, allocations: 165.2 kB / 0.5376 GB, free: 15.05 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.02004, allocations: 92.22 kB / 0.5377 GB, free: 14.96 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.02007, allocations: 8.219 kB / 0.5377 GB, free: 14.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.02011, allocations: 41.67 kB / 0.5377 GB, free: 14.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=33): time 3.186e-06/0.02011, allocations: 1.125 kB / 0.5377 GB, free: 14.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=40): time 0.003762/0.02387, allocations: 1.573 MB / 0.5393 GB, free: 13.29 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.0239, allocations: 59.34 kB / 0.5393 GB, free: 13.21 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000438/0.02434, allocations: 463.1 kB / 0.5398 GB, free: 12.74 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.02438, allocations: 33.7 kB / 0.5398 GB, free: 12.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.02462, allocations: 400.3 kB / 0.5402 GB, free: 12.31 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.02475, allocations: 154.7 kB / 0.5403 GB, free: 12.16 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.02491, allocations: 108 kB / 0.5404 GB, free: 12.04 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.0251, allocations: 0.5357 MB / 0.541 GB, free: 11.49 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.02533, allocations: 102.4 kB / 0.5411 GB, free: 11.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/0.0257, allocations: 343.3 kB / 0.5414 GB, free: 10.96 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006283/0.02632, allocations: 485.3 kB / 0.5419 GB, free: 10.39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.02633, allocations: 2.312 kB / 0.5419 GB, free: 10.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001257/0.02758, allocations: 0.6341 MB / 0.5425 GB, free: 9.742 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.02761, allocations: 8 kB / 0.5425 GB, free: 9.734 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.02762, allocations: 4 kB / 0.5425 GB, free: 9.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009034/0.02852, allocations: 235.7 kB / 0.5427 GB, free: 9.496 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.02892, allocations: 115.8 kB / 0.5428 GB, free: 9.383 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004102/0.03302, allocations: 5.666 MB / 0.5484 GB, free: 3.359 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004353/0.03345, allocations: 33.44 kB / 0.5484 GB, free: 3.328 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.577e-05/0.0335, allocations: 28.11 kB / 0.5484 GB, free: 3.301 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,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.0002559/0.03376, allocations: 194.8 kB / 0.5486 GB, free: 3.102 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.03386, allocations: 67.67 kB / 0.5487 GB, free: 3.035 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.03488, allocations: 498.5 kB / 0.5491 GB, free: 2.531 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.03489, allocations: 11.97 kB / 0.5492 GB, free: 2.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.0349, allocations: 4 kB / 0.5492 GB, free: 2.516 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.0349, allocations: 0.7188 kB / 0.5492 GB, free: 2.516 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.03665, allocations: 1.073 MB / 0.5502 GB, free: 1.363 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.03666, allocations: 4 kB / 0.5502 GB, free: 1.359 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.03691, allocations: 63.89 kB / 0.5503 GB, free: 1.297 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007473/0.03766, allocations: 228.8 kB / 0.5505 GB, free: 1.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.0377, allocations: 8 kB / 0.5505 GB, free: 1.062 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003873/0.04157, allocations: 5.645 MB / 0.556 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.04157, allocations: 5.688 kB / 0.556 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.04284, allocations: 0.7512 MB / 0.5567 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.04304, allocations: 84.22 kB / 0.5568 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.79e-05/0.04311, allocations: 23.92 kB / 0.5568 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.04337, allocations: 24.47 kB / 0.5569 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.04347, allocations: 33 kB / 0.5569 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.0435, allocations: 12 kB / 0.5569 GB, free: 10.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002864/0.04378, allocations: 298.8 kB / 0.5572 GB, free: 9.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.04378, allocations: 1.906 kB / 0.5572 GB, free: 9.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008054/0.04459, allocations: 172 kB / 0.5574 GB, free: 9.602 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001626/0.04475, allocations: 122.3 kB / 0.5575 GB, free: 9.477 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.04606, allocations: 0.9301 MB / 0.5584 GB, free: 8.496 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.04607, allocations: 2.344 kB / 0.5584 GB, free: 8.496 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007374/0.0468, allocations: 0.7347 MB / 0.5591 GB, free: 7.707 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000803/0.04761, allocations: 179 kB / 0.5593 GB, free: 7.547 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.04953, allocations: 1.155 MB / 0.5604 GB, free: 6.375 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.04966, allocations: 183.1 kB / 0.5606 GB, free: 6.172 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002229/0.04989, allocations: 90.33 kB / 0.5607 GB, free: 6.086 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/0.04996, allocations: 40.5 kB / 0.5607 GB, free: 6.047 MB / 490.7 MB Notification: Performance of SimCode: time 1.904e-06/0.04996, allocations: 0 / 0.5607 GB, free: 6.047 MB / 490.7 MB Notification: Performance of Templates: time 0.01214/0.0621, allocations: 9.667 MB / 0.5701 GB, free: 12.62 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.656528818886727]