Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0008782/0.0008782, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001214/0.002092, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009201/0.0009201, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001316/0.002236, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.064/1.064, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09008/1.154, allocations: 53.67 MB / 243.2 MB, free: 15.59 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.7818/0.7818, allocations: 154.6 MB / 398.5 MB, free: 0.5352 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2902/1.072, allocations: 49.05 MB / 447.6 MB, free: 6.715 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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 448.9 MB, free: 5.441 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.096e-05, allocations: 3.719 kB / 448.9 MB, free: 5.438 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.009899/0.00992, allocations: 10.61 MB / 459.5 MB, free: 10.86 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007914/0.01783, allocations: 7.08 MB / 466.6 MB, free: 3.809 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004672/0.0183, allocations: 83.25 kB / 466.6 MB, free: 3.727 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006827/0.01898, allocations: 423.3 kB / 467.1 MB, free: 3.312 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002433/0.02142, allocations: 1.782 MB / 468.8 MB, free: 1.535 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007956/0.02221, allocations: 0.6575 MB / 469.5 MB, free: 0.8828 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001948/0.02416, allocations: 2.993 MB / 472.5 MB, free: 13.89 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009769/0.02514, allocations: 1.169 MB / 473.7 MB, free: 12.67 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001975/0.02711, allocations: 2.261 MB / 475.9 MB, free: 10.4 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009158/0.02803, allocations: 1.046 MB / 477 MB, free: 9.355 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.02817, allocations: 161.1 kB / 477.1 MB, free: 9.199 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000429/0.0286, allocations: 315.6 kB / 477.4 MB, free: 8.891 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003663/0.02897, allocations: 0.5698 MB / 478 MB, free: 8.32 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004368/0.0294, allocations: 0.5419 MB / 478.5 MB, free: 7.777 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.03054, allocations: 1.456 MB / 480 MB, free: 6.316 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.461e-05/0.03055, allocations: 0.75 kB / 480 MB, free: 6.316 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.03055, allocations: 0 / 480 MB, free: 6.316 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.124e-05/0.03057, allocations: 0.7188 kB / 480 MB, free: 6.316 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002215/0.03279, allocations: 2.396 MB / 482.4 MB, free: 3.895 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.72e-05/0.03282, allocations: 8.531 kB / 482.4 MB, free: 3.887 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002905/0.03572, allocations: 0.9504 MB / 483.4 MB, free: 2.922 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.03677, allocations: 1.06 MB / 484.4 MB, free: 1.824 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.181e-05/0.03681, allocations: 87.75 kB / 484.5 MB, free: 1.738 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.03696, allocations: 131.2 kB / 484.6 MB, free: 1.613 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.03849, allocations: 1.613 MB / 486.2 MB, free: 15.81 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.03851, allocations: 11.88 kB / 486.3 MB, free: 15.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.663e-05/0.03861, allocations: 47.98 kB / 486.3 MB, free: 15.75 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002721/0.03888, allocations: 154.8 kB / 486.4 MB, free: 15.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007145/0.0396, allocations: 0.5672 MB / 487 MB, free: 15.03 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005062/0.04466, allocations: 5.732 MB / 492.7 MB, free: 9.164 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008813/0.04554, allocations: 0.5835 MB / 493.3 MB, free: 8.59 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/0.04585, allocations: 247.1 kB / 493.6 MB, free: 8.352 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.982e-05/0.0459, allocations: 17 kB / 493.6 MB, free: 8.332 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.04593, allocations: 48.36 kB / 493.6 MB, free: 8.277 MB / 474.7 MB Notification: Performance of pre-optimization done (n=89): time 2.114e-06/0.04593, allocations: 0 / 493.6 MB, free: 8.277 MB / 474.7 MB Notification: Performance of matching and sorting (n=90): time 0.008293/0.05422, allocations: 3.891 MB / 497.5 MB, free: 4.488 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.05425, allocations: 72.28 kB / 497.6 MB, free: 4.406 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005245/0.05477, allocations: 0.9036 MB / 498.5 MB, free: 3.496 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.727e-05/0.05484, allocations: 41.7 kB / 498.5 MB, free: 3.449 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.05507, allocations: 0.584 MB / 499.1 MB, free: 2.859 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.05524, allocations: 325.1 kB / 499.4 MB, free: 2.539 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.05546, allocations: 186.8 kB / 499.6 MB, free: 2.352 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.052e-05/0.05554, allocations: 349.8 kB / 500 MB, free: 2.004 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.0558, allocations: 200.3 kB / 0.4884 GB, free: 1.809 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.05614, allocations: 440.4 kB / 0.4889 GB, free: 1.289 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006482/0.05679, allocations: 0.7127 MB / 0.4896 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.0568, allocations: 4.781 kB / 0.4896 GB, free: 500 kB / 474.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001893/0.05869, allocations: 1.268 MB / 0.4908 GB, free: 15.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.05871, allocations: 8 kB / 0.4908 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.05872, allocations: 8 kB / 0.4908 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002444/0.06116, allocations: 0.8488 MB / 0.4916 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005952/0.06176, allocations: 215.6 kB / 0.4918 GB, free: 14.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005586/0.06734, allocations: 6.99 MB / 0.4987 GB, free: 6.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/0.06785, allocations: 52.02 kB / 0.4987 GB, free: 6.719 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/0.06792, allocations: 51.95 kB / 0.4988 GB, free: 6.668 MB / 490.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 (73): * Single equations (assignments): 69 * 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,8,100.0%), (3,17,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002709/0.06819, allocations: 172.3 kB / 0.4989 GB, free: 6.488 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.06835, allocations: 119.9 kB / 0.4991 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.07024, allocations: 1.253 MB / 0.5003 GB, free: 5.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.07025, allocations: 11.94 kB / 0.5003 GB, free: 5.078 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.07025, allocations: 12 kB / 0.5003 GB, free: 5.066 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.07026, allocations: 3.984 kB / 0.5003 GB, free: 5.062 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/0.07291, allocations: 1.976 MB / 0.5022 GB, free: 3.023 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.07291, allocations: 4 kB / 0.5022 GB, free: 3.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004609/0.07337, allocations: 141.1 kB / 0.5024 GB, free: 2.883 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.07365, allocations: 246.9 kB / 0.5026 GB, free: 2.641 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001947/0.0756, allocations: 0.8308 MB / 0.5034 GB, free: 1.797 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/0.07566, allocations: 27.95 kB / 0.5034 GB, free: 1.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00549/0.08115, allocations: 6.997 MB / 0.5103 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.08115, allocations: 4 kB / 0.5103 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.08294, allocations: 1.266 MB / 0.5115 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.08307, allocations: 20 kB / 0.5115 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.08348, allocations: 39.98 kB / 0.5116 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.08363, allocations: 88.77 kB / 0.5117 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.399e-05/0.08369, allocations: 27.97 kB / 0.5117 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000295/0.08398, allocations: 459.6 kB / 0.5121 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.08398, allocations: 0 / 0.5121 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001104/0.08509, allocations: 496 kB / 0.5126 GB, free: 7.957 MB / 0.4948 GB 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 (37): * Single equations (assignments): 33 * 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,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001694/0.08526, allocations: 104.3 kB / 0.5127 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001539/0.0868, allocations: 1.469 MB / 0.5141 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-05/0.08683, allocations: 27.11 kB / 0.5142 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.08787, allocations: 1.133 MB / 0.5153 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.08894, allocations: 0.6368 MB / 0.5159 GB, free: 4.516 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007767/0.0967, allocations: 2.586 MB / 0.5184 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.09703, allocations: 403.8 kB / 0.5188 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006957/0.09773, allocations: 279.1 kB / 0.5191 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.09874, allocations: 399 kB / 0.5194 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of SimCode: time 1.052e-06/0.09874, allocations: 4 kB / 0.5194 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of Templates: time 0.03653/0.1353, allocations: 36.34 MB / 0.5549 GB, free: 13.21 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.177322598174214]