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.0007777/0.0007777, allocations: 80.44 kB / 19.91 MB, free: 4 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.000993/0.000993, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9374/0.9374, allocations: 177.2 MB / 203.6 MB, free: 5.773 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-531:686: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-531:694: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.7251/0.7251, allocations: 154.7 MB / 414.7 MB, free: 0.7656 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.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008299/0.0008299, allocations: 76.77 kB / 0.6196 GB, free: 13.12 MB / 0.5886 GB [/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 FrontEnd - Absyn->SCode: time 0.5706/0.5714, allocations: 101.9 MB / 0.7191 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01078/0.5822, allocations: 13.79 MB / 0.7326 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0118/0.594, allocations: 9.891 MB / 0.7422 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002192/0.5962, allocations: 81.22 kB / 0.7423 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003493/0.5997, allocations: 1.691 MB / 0.744 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00826/0.6079, allocations: 1.863 MB / 0.7458 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002785/0.6107, allocations: 0.7634 MB / 0.7465 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005576/0.6163, allocations: 2.758 MB / 0.7492 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002387/0.6187, allocations: 1.197 MB / 0.7504 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004108/0.6228, allocations: 2.05 MB / 0.7524 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002376/0.6252, allocations: 1.095 MB / 0.7535 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0006604/0.6258, allocations: 160.3 kB / 0.7536 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.6283, allocations: 0.7287 MB / 0.7543 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008008/0.6291, allocations: 0.6169 MB / 0.7549 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001925/0.631, allocations: 0.7841 MB / 0.7557 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005415/0.6364, allocations: 2.94 MB / 0.7586 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.6364, allocations: 0 / 0.7586 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6364, allocations: 0 / 0.7586 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.831e-05/0.6365, allocations: 1.406 kB / 0.7586 GB, free: 0.5352 MB / 0.6355 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.005434/0.642, allocations: 2.148 MB / 0.7607 GB, free: 15 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.642, allocations: 8.688 kB / 0.7607 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009077/0.6511, allocations: 2.12 MB / 0.7627 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003242/0.6543, allocations: 1.231 MB / 0.7639 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.912e-05/0.6544, allocations: 90.16 kB / 0.764 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003084/0.6547, allocations: 115.8 kB / 0.7641 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005357/0.6601, allocations: 3.07 MB / 0.7671 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.926e-05/0.6602, allocations: 15.73 kB / 0.7672 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/0.6603, allocations: 54.55 kB / 0.7672 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004934/0.6608, allocations: 194.4 kB / 0.7674 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006025/0.6668, allocations: 2.786 MB / 0.7701 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/0.6768, allocations: 8.132 MB / 0.7781 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00362/0.6805, allocations: 2.174 MB / 0.7802 GB, free: 2.066 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/0.6823, allocations: 1.203 MB / 0.7814 GB, free: 1.453 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.639e-05/0.6824, allocations: 10.91 kB / 0.7814 GB, free: 1.449 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.6824, allocations: 47.16 kB / 0.7814 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 3.667e-06/0.6824, allocations: 0 / 0.7814 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of matching and sorting (n=153): time 0.03102/0.7134, allocations: 15.99 MB / 0.797 GB, free: 1.711 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.7134, allocations: 68.72 kB / 0.7971 GB, free: 1.629 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.7146, allocations: 1.038 MB / 0.7981 GB, free: 0.582 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.7148, allocations: 49.7 kB / 0.7981 GB, free: 0.5273 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004425/0.7152, allocations: 0.752 MB / 0.7989 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004525/0.7157, allocations: 0.5383 MB / 0.7994 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004011/0.7161, allocations: 295.5 kB / 0.7997 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.085e-05/0.7161, allocations: 305.1 kB / 0.8 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002356/0.7185, allocations: 1.507 MB / 0.8015 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/0.7207, allocations: 1.788 MB / 0.8032 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004298/0.725, allocations: 3.362 MB / 0.8065 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.725, allocations: 4 kB / 0.8065 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.008234/0.7332, allocations: 5.2 MB / 0.8116 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.7332, allocations: 16.09 kB / 0.8116 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.7332, allocations: 8 kB / 0.8116 GB, free: 2.508 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003877/0.7371, allocations: 1.876 MB / 0.8134 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.7382, allocations: 411.3 kB / 0.8138 GB, free: 216 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01961/0.7578, allocations: 22.86 MB / 0.8361 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.7596, allocations: 303.5 kB / 0.8364 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.7597, allocations: 67.95 kB / 0.8365 GB, free: 8.18 MB / 0.7136 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.001021/0.7607, allocations: 463 kB / 0.8369 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/0.761, allocations: 170.9 kB / 0.8371 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007539/0.7686, allocations: 5.244 MB / 0.8422 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.7686, allocations: 7.969 kB / 0.8422 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.7686, allocations: 0 / 0.8422 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000874/0.7694, allocations: 426.7 kB / 0.8426 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.7696, allocations: 24 kB / 0.8427 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.7707, allocations: 295.5 kB / 0.8429 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004107/0.7711, allocations: 208.8 kB / 0.8431 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008256/0.7793, allocations: 5.586 MB / 0.8486 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007239/0.7866, allocations: 5.207 MB / 0.8537 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001996/0.7886, allocations: 1.618 MB / 0.8553 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008189/0.7894, allocations: 0.6801 MB / 0.8559 GB, free: 4.168 MB / 0.7292 GB Notification: Performance of Backend: time 5.81e-07/0.7894, allocations: 0 / 0.8559 GB, free: 4.168 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006587/0.796, allocations: 4.01 MB / 0.8598 GB, free: 44 kB / 0.7292 GB Notification: Performance of SimCode: time 0.005416/0.8014, allocations: 4.775 MB / 0.8645 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of Templates: time 0.0579/0.8593, allocations: 51.98 MB / 0.9153 GB, free: 8.039 MB / 0.7917 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=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.26305324700661] Failed to read output from testmodel.py, exit status != 0: 0.8669916409999132 0.880697967 0.24156274100000003 Calling exit ...