Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.001077/0.001077, allocations: 84.48 kB / 19.91 MB, free: 4.633 MB / 18.57 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.001152/0.001152, allocations: 169.2 kB / 23.2 MB, free: 1.359 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.8834/0.8834, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7482/0.7482, allocations: 154.7 MB / 414.7 MB, free: 0.7617 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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") [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.0008742/0.0008742, allocations: 71.89 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.4462/0.4471, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.004169/0.4512, allocations: 4.891 MB / 0.7239 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002784/0.454, allocations: 3.223 MB / 0.727 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.4542, allocations: 20 kB / 0.7271 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000913/0.4551, allocations: 0.4913 MB / 0.7275 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0005136/0.4556, allocations: 409.7 kB / 0.7279 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.456, allocations: 267.4 kB / 0.7282 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006408/0.4566, allocations: 0.6686 MB / 0.7288 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004199/0.457, allocations: 343.8 kB / 0.7292 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003807/0.4574, allocations: 413.2 kB / 0.7296 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003751/0.4578, allocations: 321.1 kB / 0.7299 GB, free: 17.06 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.673e-05/0.4578, allocations: 46.78 kB / 0.7299 GB, free: 17.06 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003867/0.4582, allocations: 286.4 kB / 0.7302 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.4584, allocations: 174.7 kB / 0.7303 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.4585, allocations: 199.9 kB / 0.7305 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000852/0.4594, allocations: 0.8988 MB / 0.7314 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4594, allocations: 3.938 kB / 0.7314 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4594, allocations: 0 / 0.7314 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.4594, allocations: 0 / 0.7314 GB, free: 16.49 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.000952/0.4604, allocations: 0.7396 MB / 0.7321 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4604, allocations: 8.859 kB / 0.7321 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/0.4621, allocations: 0.6866 MB / 0.7328 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005893/0.4627, allocations: 422.9 kB / 0.7332 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.4627, allocations: 21.41 kB / 0.7332 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.035e-05/0.4628, allocations: 37.03 kB / 0.7333 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.4639, allocations: 0.9148 MB / 0.7342 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.4639, allocations: 9.703 kB / 0.7342 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.464, allocations: 12.03 kB / 0.7342 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/0.4641, allocations: 62.25 kB / 0.7343 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.4654, allocations: 0.9285 MB / 0.7352 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/0.4679, allocations: 2.111 MB / 0.7372 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009801/0.4689, allocations: 0.5395 MB / 0.7377 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004569/0.4693, allocations: 294.4 kB / 0.738 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.198e-05/0.4694, allocations: 10.67 kB / 0.738 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.4694, allocations: 36.97 kB / 0.7381 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.4694, allocations: 0 / 0.7381 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=32): time 0.007635/0.477, allocations: 3.517 MB / 0.7415 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.726e-05/0.477, allocations: 55.22 kB / 0.7416 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003569/0.4774, allocations: 375.9 kB / 0.7419 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.4774, allocations: 31.55 kB / 0.7419 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.989e-05/0.4775, allocations: 234.2 kB / 0.7422 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/0.4776, allocations: 115.4 kB / 0.7423 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.4777, allocations: 84.59 kB / 0.7424 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.014e-05/0.4778, allocations: 348 kB / 0.7427 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006325/0.4784, allocations: 413.8 kB / 0.7431 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006864/0.4791, allocations: 0.4999 MB / 0.7436 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.4804, allocations: 0.8793 MB / 0.7444 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.4804, allocations: 0.7812 kB / 0.7444 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.003149/0.4835, allocations: 1.733 MB / 0.7461 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4836, allocations: 5.688 kB / 0.7461 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.4836, allocations: 5.312 kB / 0.7461 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001978/0.4855, allocations: 0.944 MB / 0.7471 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.4859, allocations: 128.2 kB / 0.7472 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004438/0.4903, allocations: 6.499 MB / 0.7535 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.4907, allocations: 106.7 kB / 0.7536 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.4908, allocations: 22.95 kB / 0.7537 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007803/0.4916, allocations: 0.5876 MB / 0.7542 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005864/0.4921, allocations: 0.4902 MB / 0.7547 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001092/0.4932, allocations: 0.8526 MB / 0.7555 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.794e-06/0.4932, allocations: 5.344 kB / 0.7555 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.002531/0.4958, allocations: 1.572 MB / 0.7571 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.4958, allocations: 5.844 kB / 0.7571 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.4958, allocations: 7 kB / 0.7571 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.4972, allocations: 0.7021 MB / 0.7578 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.4975, allocations: 132.6 kB / 0.7579 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004201/0.5017, allocations: 6.082 MB / 0.7638 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.5021, allocations: 114.1 kB / 0.764 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.5022, allocations: 12.28 kB / 0.764 GB, free: 13.39 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * 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): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.5023, allocations: 210.6 kB / 0.7642 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.5024, allocations: 33.41 kB / 0.7642 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002727/0.5051, allocations: 1.58 MB / 0.7657 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.5051, allocations: 1.031 kB / 0.7657 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5051, allocations: 0 / 0.7657 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.5053, allocations: 101.3 kB / 0.7658 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.5053, allocations: 6.188 kB / 0.7658 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.5056, allocations: 81.77 kB / 0.7659 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.5057, allocations: 39.95 kB / 0.766 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002137/0.5079, allocations: 1.374 MB / 0.7673 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001434/0.5093, allocations: 1.275 MB / 0.7685 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000439/0.5097, allocations: 345.5 kB / 0.7689 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002711/0.51, allocations: 283.1 kB / 0.7691 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of Backend: time 2.8e-07/0.51, allocations: 4 kB / 0.7692 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002869/0.5129, allocations: 1.992 MB / 0.7711 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of SimCode: time 0.001431/0.5143, allocations: 1.515 MB / 0.7726 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of Templates: time 0.01774/0.532, allocations: 19.13 MB / 0.7913 GB, free: 7.223 MB / 0.6667 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.46945078112185] Failed to read output from testmodel.py, exit status != 0: 0.5372366949450225 0.5450425649999999 0.08396930000000001 Calling exit ...