Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.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.0008614/0.0008614, allocations: 76.52 kB / 19.91 MB, free: 4.641 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.0007791/0.0007791, 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.9233/0.9233, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.7404/0.7404, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") [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.0009439/0.0009439, allocations: 72.08 kB / 0.6196 GB, free: 13.13 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.4186/0.4196, allocations: 102 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.01488/0.4344, allocations: 18.51 MB / 0.7372 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01175/0.4462, allocations: 9.406 MB / 0.7464 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.4475, allocations: 84.81 kB / 0.7465 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002129/0.4496, allocations: 1.67 MB / 0.7481 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002699/0.4523, allocations: 1.322 MB / 0.7494 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003176/0.4555, allocations: 1.542 MB / 0.7509 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004074/0.4595, allocations: 3.988 MB / 0.7548 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002978/0.4625, allocations: 2.689 MB / 0.7574 GB, free: 468 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003071/0.4656, allocations: 2.601 MB / 0.76 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001923/0.4675, allocations: 1.96 MB / 0.7619 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003802/0.4679, allocations: 372.4 kB / 0.7622 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.469, allocations: 0.6815 MB / 0.7629 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.4701, allocations: 1.467 MB / 0.7643 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.4713, allocations: 1.292 MB / 0.7656 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004287/0.4756, allocations: 5.706 MB / 0.7712 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.4756, allocations: 1.188 kB / 0.7712 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4756, allocations: 0 / 0.7712 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.299e-05/0.4756, allocations: 0 / 0.7712 GB, free: 7.965 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 652 * Number of variables: 652 Notification: Performance of Generate backend data structure: time 0.004289/0.4799, allocations: 2.923 MB / 0.774 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.4799, allocations: 8.469 kB / 0.774 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.4817, allocations: 0.5359 MB / 0.7745 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/0.4838, allocations: 1.516 MB / 0.776 GB, free: 4.738 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.4839, allocations: 247.1 kB / 0.7763 GB, free: 4.582 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003165/0.4843, allocations: 249.4 kB / 0.7765 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00521/0.4895, allocations: 4.227 MB / 0.7806 GB, free: 1.836 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.202e-05/0.4895, allocations: 4.922 kB / 0.7806 GB, free: 1.832 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/0.4897, allocations: 107 kB / 0.7807 GB, free: 1.75 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000252/0.4899, allocations: 183.4 kB / 0.7809 GB, free: 1.699 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003342/0.4933, allocations: 3.156 MB / 0.784 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008679/0.502, allocations: 8.89 MB / 0.7927 GB, free: 6.066 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008434/0.5028, allocations: 0.7405 MB / 0.7934 GB, free: 5.312 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004864/0.5033, allocations: 0.5197 MB / 0.7939 GB, free: 4.785 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.209e-05/0.5034, allocations: 28.42 kB / 0.7939 GB, free: 4.758 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005877/0.504, allocations: 0.819 MB / 0.7947 GB, free: 3.828 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=56): time 2.435e-06/0.504, allocations: 0 / 0.7947 GB, free: 3.828 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78): time 0.01368/0.5177, allocations: 8.522 MB / 0.8031 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.5178, allocations: 414.1 kB / 0.8034 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.519, allocations: 1.214 MB / 0.8046 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.509e-05/0.5191, allocations: 41.7 kB / 0.8047 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008451/0.5199, allocations: 1.294 MB / 0.8059 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.5201, allocations: 289.7 kB / 0.8062 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/0.5204, allocations: 311.4 kB / 0.8065 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.292e-05/0.5205, allocations: 309.1 kB / 0.8068 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007584/0.5213, allocations: 0.8123 MB / 0.8076 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.5226, allocations: 1.766 MB / 0.8093 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/0.5244, allocations: 2.379 MB / 0.8116 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-06/0.5244, allocations: 4 kB / 0.8116 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00434/0.5288, allocations: 3.555 MB / 0.8151 GB, free: 13.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.878e-05/0.5288, allocations: 75.39 kB / 0.8152 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.5288, allocations: 20 kB / 0.8152 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002811/0.5316, allocations: 1.342 MB / 0.8165 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005828/0.5322, allocations: 299.5 kB / 0.8168 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009481/0.5417, allocations: 10.86 MB / 0.8274 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009639/0.5427, allocations: 143.7 kB / 0.8275 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.57e-05/0.5427, allocations: 80 kB / 0.8276 GB, free: 0.668 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002139/0.5449, allocations: 1.678 MB / 0.8293 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001356/0.5462, allocations: 1.747 MB / 0.831 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001764/0.548, allocations: 2.34 MB / 0.8333 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.682e-06/0.548, allocations: 4 kB / 0.8333 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.004103/0.5521, allocations: 3.14 MB / 0.8363 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.648e-05/0.5522, allocations: 79.33 kB / 0.8364 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.855e-05/0.5522, allocations: 20.25 kB / 0.8364 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/0.5539, allocations: 0.8598 MB / 0.8373 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006595/0.5546, allocations: 335.4 kB / 0.8376 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005638/0.5602, allocations: 5.989 MB / 0.8434 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009192/0.5611, allocations: 123.8 kB / 0.8435 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.133e-05/0.5612, allocations: 80 kB / 0.8436 GB, free: 15.26 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * Number of states: 0 () * Number of discrete variables: 6 (load_ctrl.vCTRL_1.ctrl.tSwitch,$PRE.load_ctrl.vCTRL_1.ctrl.tSwitch,load_ctrl.vCTRL_1.ctrl.connected,$PRE.load_ctrl.vCTRL_1.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 2 * 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): 2 systems {(2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,6), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000372/0.5616, allocations: 336.5 kB / 0.8439 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.5617, allocations: 131.2 kB / 0.8441 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003463/0.5652, allocations: 2.551 MB / 0.8466 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.5652, allocations: 3.984 kB / 0.8466 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5652, allocations: 4 kB / 0.8466 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/0.5656, allocations: 243.1 kB / 0.8468 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.5657, allocations: 23.88 kB / 0.8468 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.566, allocations: 75.89 kB / 0.8469 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.5662, allocations: 84.47 kB / 0.847 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002908/0.5691, allocations: 2.477 MB / 0.8494 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002147/0.5713, allocations: 2.374 MB / 0.8517 GB, free: 6.855 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005629/0.5718, allocations: 0.643 MB / 0.8523 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007506/0.5726, allocations: 0.7779 MB / 0.8531 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of Backend: time 3.31e-07/0.5726, allocations: 0 / 0.8531 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005696/0.5783, allocations: 4.147 MB / 0.8572 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of SimCode: time 0.005308/0.5836, allocations: 4.869 MB / 0.8619 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of Templates: time 0.03953/0.6231, allocations: 37.42 MB / 0.8985 GB, free: 7.406 MB / 0.7761 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.043336848961189] Failed to read output from testmodel.py, exit status != 0: 0.6289398670196533 0.637170533 0.15983366300000001 Calling exit ...