Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.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.0008982/0.0008982, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001352/0.00225, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009193/0.0009193, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003023/0.003943, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.972/0.972, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09167/1.064, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.7879/0.7879, allocations: 154.6 MB / 398.8 MB, free: 392 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3021/1.09, allocations: 49.04 MB / 447.8 MB, free: 6.637 MB / 426.7 MB " [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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 449.1 MB, free: 5.328 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.411e-05, allocations: 3.859 kB / 449.1 MB, free: 5.324 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01184/0.01186, allocations: 4.947 MB / 454.1 MB, free: 444 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.02462, allocations: 1.796 MB / 455.9 MB, free: 14.65 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005646/0.02518, allocations: 39.62 kB / 455.9 MB, free: 14.61 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006104/0.02579, allocations: 240.6 kB / 456.2 MB, free: 14.38 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009944/0.03574, allocations: 0.5037 MB / 456.7 MB, free: 13.87 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009056/0.03664, allocations: 394.6 kB / 457.1 MB, free: 13.49 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01077/0.04741, allocations: 1.366 MB / 458.4 MB, free: 12.12 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009262/0.04834, allocations: 0.5315 MB / 459 MB, free: 11.58 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.04944, allocations: 0.7466 MB / 459.7 MB, free: 10.83 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007691/0.05021, allocations: 0.521 MB / 460.2 MB, free: 10.31 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.009129/0.05934, allocations: 67.94 kB / 460.3 MB, free: 10.25 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005576/0.05989, allocations: 144.8 kB / 460.4 MB, free: 10.11 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.06019, allocations: 299.2 kB / 460.7 MB, free: 9.812 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003095/0.0605, allocations: 259.4 kB / 461 MB, free: 9.559 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007833/0.06128, allocations: 0.6941 MB / 461.7 MB, free: 8.863 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.305e-05/0.06129, allocations: 0 / 461.7 MB, free: 8.863 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.06129, allocations: 0 / 461.7 MB, free: 8.863 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.137e-05/0.06132, allocations: 0 / 461.7 MB, free: 8.863 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.007518/0.06883, allocations: 1.229 MB / 462.9 MB, free: 7.613 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.06887, allocations: 8.031 kB / 462.9 MB, free: 7.605 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.07, allocations: 351.4 kB / 463.2 MB, free: 7.246 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007151/0.07071, allocations: 0.5103 MB / 463.8 MB, free: 6.719 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.069e-05/0.07075, allocations: 51.52 kB / 463.8 MB, free: 6.668 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-05/0.07085, allocations: 73.3 kB / 463.9 MB, free: 6.598 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007128/0.07798, allocations: 0.9524 MB / 464.8 MB, free: 5.473 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.078, allocations: 8.125 kB / 464.8 MB, free: 5.465 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.577e-05/0.07804, allocations: 33.95 kB / 464.9 MB, free: 5.434 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/0.07815, allocations: 85.19 kB / 465 MB, free: 5.352 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004051/0.07856, allocations: 261.2 kB / 465.2 MB, free: 5.102 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0032/0.08176, allocations: 3.911 MB / 469.1 MB, free: 1.055 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004957/0.08225, allocations: 287.8 kB / 469.4 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.0824, allocations: 94.33 kB / 469.5 MB, free: 0.668 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.08243, allocations: 5.094 kB / 469.5 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.08246, allocations: 39.72 kB / 469.5 MB, free: 0.6172 MB / 442.7 MB Notification: Performance of pre-optimization done (n=47): time 2.966e-06/0.08246, allocations: 0.75 kB / 469.5 MB, free: 0.6172 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.001492/0.08395, allocations: 0.8309 MB / 470.4 MB, free: 15.78 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.08398, allocations: 55.91 kB / 470.4 MB, free: 15.71 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.08424, allocations: 478.9 kB / 470.9 MB, free: 15.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.08427, allocations: 41.69 kB / 470.9 MB, free: 15.19 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.0846, allocations: 377.6 kB / 471.3 MB, free: 14.81 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.844e-05/0.08469, allocations: 174.5 kB / 471.5 MB, free: 14.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.0848, allocations: 126.5 kB / 471.6 MB, free: 14.51 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.08491, allocations: 371.3 kB / 472 MB, free: 14.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.801e-05/0.08501, allocations: 75.44 kB / 472 MB, free: 14.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.08527, allocations: 300.9 kB / 472.3 MB, free: 13.68 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.08568, allocations: 467.3 kB / 472.8 MB, free: 13.14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.08568, allocations: 5.438 kB / 472.8 MB, free: 13.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007789/0.08646, allocations: 0.5616 MB / 473.4 MB, free: 12.55 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.08648, allocations: 8 kB / 473.4 MB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.08649, allocations: 8 kB / 473.4 MB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006192/0.08711, allocations: 296.3 kB / 473.7 MB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.08736, allocations: 123.8 kB / 473.8 MB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/0.09038, allocations: 5.311 MB / 479.1 MB, free: 6.434 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.0906, allocations: 16 kB / 479.1 MB, free: 6.418 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.09063, allocations: 29 kB / 479.1 MB, free: 6.391 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.000144/0.09077, allocations: 150.6 kB / 479.3 MB, free: 6.234 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.857e-05/0.09084, allocations: 63.92 kB / 479.3 MB, free: 6.172 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005023/0.09134, allocations: 449.4 kB / 479.8 MB, free: 5.715 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.09135, allocations: 4 kB / 479.8 MB, free: 5.711 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.09135, allocations: 4 kB / 479.8 MB, free: 5.707 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.09135, allocations: 4.922 kB / 479.8 MB, free: 5.703 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009202/0.09227, allocations: 0.8879 MB / 480.7 MB, free: 4.762 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.09228, allocations: 4 kB / 480.7 MB, free: 4.758 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.09241, allocations: 54.53 kB / 480.7 MB, free: 4.707 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.09252, allocations: 87.53 kB / 480.8 MB, free: 4.621 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005554/0.09308, allocations: 282.1 kB / 481.1 MB, free: 4.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.0931, allocations: 12 kB / 481.1 MB, free: 4.328 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003023/0.09612, allocations: 5.299 MB / 486.4 MB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.09613, allocations: 0 / 486.4 MB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005111/0.09664, allocations: 0.5794 MB / 487 MB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.09668, allocations: 21.22 kB / 487 MB, free: 14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.09683, allocations: 12 kB / 487 MB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.0969, allocations: 47.86 kB / 487.1 MB, free: 13.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.09692, allocations: 9.219 kB / 487.1 MB, free: 13.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.09706, allocations: 204.4 kB / 487.3 MB, free: 13.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09706, allocations: 0 / 487.3 MB, free: 13.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005216/0.09758, allocations: 231.9 kB / 487.5 MB, free: 13.51 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,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.000128/0.09771, allocations: 94.81 kB / 487.6 MB, free: 13.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008411/0.09855, allocations: 0.9062 MB / 488.5 MB, free: 12.46 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-05/0.09857, allocations: 12.5 kB / 488.5 MB, free: 12.45 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005408/0.09911, allocations: 0.7385 MB / 489.3 MB, free: 11.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.1002, allocations: 1.986 MB / 491.2 MB, free: 9.289 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005522/0.1057, allocations: 1.31 MB / 492.5 MB, free: 7.934 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.1059, allocations: 219.4 kB / 492.8 MB, free: 7.695 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000228/0.1061, allocations: 73.03 kB / 492.8 MB, free: 7.641 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.1064, allocations: 217.2 kB / 493 MB, free: 7.43 MB / 474.7 MB Notification: Performance of SimCode: time 1.372e-06/0.1064, allocations: 2.156 kB / 493 MB, free: 7.43 MB / 474.7 MB Notification: Performance of Templates: time 0.01432/0.1207, allocations: 12.51 MB / 0.4937 GB, free: 11.41 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.821698646992445]