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.002274/0.002274, allocations: 81.48 kB / 19.44 MB, free: 348 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.002898/0.002898, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.606/1.606, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.329/1.329, allocations: 154.6 MB / 414.2 MB, free: 0.668 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 178] 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 5.12e-06/5.12e-06, allocations: 4 kB / 0.5196 GB, free: 2.594 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/3.331e-05, allocations: 4 kB / 0.5196 GB, free: 2.59 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02264/0.02267, allocations: 14.85 MB / 0.5341 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01907/0.04174, allocations: 10.45 MB / 0.5443 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.04307, allocations: 83.25 kB / 0.5444 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.00497/0.04804, allocations: 1.734 MB / 0.5461 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00576/0.0538, allocations: 1.903 MB / 0.548 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.05599, allocations: 0.7651 MB / 0.5487 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004647/0.06064, allocations: 2.84 MB / 0.5515 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002049/0.06269, allocations: 1.192 MB / 0.5526 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003446/0.06613, allocations: 2.016 MB / 0.5546 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/0.06809, allocations: 1.03 MB / 0.5556 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002931/0.06838, allocations: 160 kB / 0.5558 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.07004, allocations: 0.7249 MB / 0.5565 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0007702/0.07082, allocations: 0.6508 MB / 0.5571 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.07182, allocations: 0.6546 MB / 0.5578 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.004987/0.0768, allocations: 2.816 MB / 0.5605 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.07681, allocations: 4.953 kB / 0.5605 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.262e-06/0.07681, allocations: 0 / 0.5605 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.433e-05/0.07688, allocations: 0 / 0.5605 GB, free: 8.664 MB / 0.5261 GB 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.004786/0.08166, allocations: 2.37 MB / 0.5628 GB, free: 6.258 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.0817, allocations: 12.02 kB / 0.5628 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.09197, allocations: 1.812 MB / 0.5646 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003585/0.09555, allocations: 1.284 MB / 0.5659 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.514e-05/0.09565, allocations: 82.69 kB / 0.5659 GB, free: 3.035 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003308/0.09598, allocations: 133.7 kB / 0.5661 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004874/0.1009, allocations: 2.292 MB / 0.5683 GB, free: 332 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-05/0.1009, allocations: 11.88 kB / 0.5683 GB, free: 320 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/0.1011, allocations: 62.84 kB / 0.5684 GB, free: 260 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007475/0.1018, allocations: 198.1 kB / 0.5686 GB, free: 60 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00473/0.1066, allocations: 1.357 MB / 0.5699 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01592/0.1225, allocations: 8.908 MB / 0.5786 GB, free: 5.594 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004077/0.1266, allocations: 1.017 MB / 0.5796 GB, free: 4.57 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001878/0.1284, allocations: 0.5511 MB / 0.5801 GB, free: 4.02 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.1285, allocations: 16.94 kB / 0.5801 GB, free: 4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/0.1286, allocations: 58.31 kB / 0.5802 GB, free: 3.934 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=89): time 2.645e-06/0.1286, allocations: 1.156 kB / 0.5802 GB, free: 3.934 MB / 0.5417 GB Notification: Performance of matching and sorting (n=153): time 0.02784/0.1564, allocations: 7.032 MB / 0.5871 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/0.1565, allocations: 68.72 kB / 0.5871 GB, free: 12.83 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.1586, allocations: 1.29 MB / 0.5884 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002886/0.1589, allocations: 49.7 kB / 0.5884 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000872/0.1597, allocations: 0.8606 MB / 0.5893 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008227/0.1605, allocations: 0.5813 MB / 0.5898 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007316/0.1613, allocations: 333.1 kB / 0.5902 GB, free: 9.691 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002602/0.1615, allocations: 480.8 kB / 0.5906 GB, free: 9.219 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002215/0.1638, allocations: 0.7065 MB / 0.5913 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002667/0.1664, allocations: 1.128 MB / 0.5924 GB, free: 7.254 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005122/0.1715, allocations: 1.933 MB / 0.5943 GB, free: 5.191 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.1715, allocations: 3.938 kB / 0.5943 GB, free: 5.188 MB / 0.5573 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.0114/0.183, allocations: 3.384 MB / 0.5976 GB, free: 1.758 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.183, allocations: 13.97 kB / 0.5976 GB, free: 1.746 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.183, allocations: 8 kB / 0.5976 GB, free: 1.738 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01001/0.193, allocations: 1.83 MB / 0.5994 GB, free: 15.88 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/0.1947, allocations: 307.4 kB / 0.5997 GB, free: 15.58 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0318/0.2265, allocations: 20.64 MB / 0.6199 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/0.2289, allocations: 191.7 kB / 0.62 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002559/0.2291, allocations: 67.97 kB / 0.6201 GB, free: 9.715 MB / 0.5886 GB 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007832/0.2299, allocations: 320.3 kB / 0.6204 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005408/0.2304, allocations: 215 kB / 0.6206 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/0.242, allocations: 3.276 MB / 0.6238 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/0.242, allocations: 20 kB / 0.6238 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.392e-05/0.242, allocations: 20 kB / 0.6239 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.217e-05/0.2421, allocations: 7.969 kB / 0.6239 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/0.2577, allocations: 4.914 MB / 0.6287 GB, free: 0.7773 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.996e-05/0.2578, allocations: 7.984 kB / 0.6287 GB, free: 0.7695 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/0.2592, allocations: 239.9 kB / 0.6289 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009022/0.2682, allocations: 1.739 MB / 0.6306 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000223/0.2684, allocations: 43.97 kB / 0.6306 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03013/0.2985, allocations: 20.37 MB / 0.6505 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2985, allocations: 0 / 0.6505 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/0.3089, allocations: 3.177 MB / 0.6536 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/0.3104, allocations: 390.7 kB / 0.654 GB, free: 5.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002844/0.3107, allocations: 32 kB / 0.654 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/0.3125, allocations: 203.7 kB / 0.6542 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005622/0.3131, allocations: 160.9 kB / 0.6544 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/0.3132, allocations: 55.95 kB / 0.6544 GB, free: 5.273 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001179/0.3144, allocations: 0.7738 MB / 0.6552 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.3144, allocations: 0 / 0.6552 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002254/0.3167, allocations: 0.6601 MB / 0.6558 GB, free: 3.836 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (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.0003339/0.317, allocations: 135.2 kB / 0.656 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01004/0.327, allocations: 3.968 MB / 0.6598 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.3271, allocations: 4.125 kB / 0.6598 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00706/0.3341, allocations: 3.096 MB / 0.6629 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/0.3367, allocations: 0.5302 MB / 0.6634 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00822/0.3449, allocations: 3.461 MB / 0.6668 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/0.3464, allocations: 0.9485 MB / 0.6677 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00168/0.348, allocations: 313.2 kB / 0.668 GB, free: 7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004146/0.3485, allocations: 104.4 kB / 0.6681 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of SimCode: time 1.432e-06/0.3485, allocations: 0 / 0.6681 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of Templates: time 0.2749/0.6233, allocations: 47.46 MB / 0.7144 GB, free: 171 MB / 0.6355 GB " [Timeout remaining time 659] 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: 7.8455512750661]