Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001687/0.001687, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002422/0.002422, allocations: 165.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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.512/1.512, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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-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 1.208/1.208, allocations: 154.6 MB / 413.8 MB, free: 5.191 MB / 382.1 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.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.6186 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.08e-05/3.256e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008633/0.008666, allocations: 5.279 MB / 0.6237 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005514/0.01418, allocations: 2.603 MB / 0.6263 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006206/0.0148, allocations: 35.69 kB / 0.6263 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002275/0.01708, allocations: 0.6844 MB / 0.627 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.01841, allocations: 445.2 kB / 0.6274 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.01962, allocations: 418.5 kB / 0.6278 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001493/0.02111, allocations: 0.9863 MB / 0.6288 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008031/0.02191, allocations: 374.5 kB / 0.6291 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.023, allocations: 0.5182 MB / 0.6296 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008889/0.02389, allocations: 371 kB / 0.63 GB, free: 8.801 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.02403, allocations: 48 kB / 0.63 GB, free: 8.754 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000802/0.02484, allocations: 331.1 kB / 0.6303 GB, free: 8.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000378/0.02521, allocations: 267.2 kB / 0.6306 GB, free: 8.168 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004678/0.02568, allocations: 243.4 kB / 0.6308 GB, free: 7.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002054/0.02774, allocations: 0.9968 MB / 0.6318 GB, free: 6.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.02774, allocations: 0 / 0.6318 GB, free: 6.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.02774, allocations: 0 / 0.6318 GB, free: 6.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.583e-05/0.02778, allocations: 0 / 0.6318 GB, free: 6.93 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002104/0.02988, allocations: 0.9169 MB / 0.6327 GB, free: 5.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.02992, allocations: 8.031 kB / 0.6327 GB, free: 5.973 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.03151, allocations: 208.2 kB / 0.6329 GB, free: 5.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.03253, allocations: 468.2 kB / 0.6334 GB, free: 5.289 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/0.03257, allocations: 37.38 kB / 0.6334 GB, free: 5.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.03277, allocations: 60.53 kB / 0.6335 GB, free: 5.191 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.03426, allocations: 0.9867 MB / 0.6344 GB, free: 4.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.03429, allocations: 192 / 0.6344 GB, free: 4.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.337e-05/0.03436, allocations: 32 kB / 0.6344 GB, free: 4.059 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002149/0.03458, allocations: 64.95 kB / 0.6345 GB, free: 3.996 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.03563, allocations: 0.5736 MB / 0.6351 GB, free: 3.422 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004798/0.04043, allocations: 3.468 MB / 0.6385 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005646/0.04099, allocations: 275.3 kB / 0.6387 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003557/0.04135, allocations: 213.2 kB / 0.6389 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.04138, allocations: 4.219 kB / 0.6389 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.04142, allocations: 46.83 kB / 0.639 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.315e-06/0.04142, allocations: 0 / 0.639 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.006282/0.0477, allocations: 2.329 MB / 0.6412 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.04776, allocations: 55.41 kB / 0.6413 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006236/0.04838, allocations: 441.7 kB / 0.6417 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/0.04845, allocations: 29.7 kB / 0.6417 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.04877, allocations: 352.4 kB / 0.6421 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.04893, allocations: 146.8 kB / 0.6422 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.04913, allocations: 110.2 kB / 0.6423 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.04931, allocations: 362.7 kB / 0.6427 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.04972, allocations: 237.2 kB / 0.6429 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/0.05027, allocations: 411.3 kB / 0.6433 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.05131, allocations: 0.6779 MB / 0.644 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.05132, allocations: 0 / 0.644 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001906/0.05322, allocations: 0.9132 MB / 0.6448 GB, free: 9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.05325, allocations: 8 kB / 0.6449 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.05326, allocations: 4 kB / 0.6449 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008699/0.05413, allocations: 227 kB / 0.6451 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000564/0.05469, allocations: 115.8 kB / 0.6452 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005869/0.06056, allocations: 4.926 MB / 0.65 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005246/0.06108, allocations: 32.16 kB / 0.65 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.42e-05/0.06115, allocations: 36.06 kB / 0.6501 GB, free: 3.344 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003789/0.06153, allocations: 218.5 kB / 0.6503 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.06166, allocations: 55.67 kB / 0.6503 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/0.06344, allocations: 0.7655 MB / 0.6511 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.06345, allocations: 4.141 kB / 0.6511 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.06346, allocations: 7.938 kB / 0.6511 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.06347, allocations: 7.969 kB / 0.6511 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/0.06613, allocations: 1.326 MB / 0.6524 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.06613, allocations: 4 kB / 0.6524 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/0.06656, allocations: 71.88 kB / 0.6525 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007749/0.06734, allocations: 202.6 kB / 0.6526 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.06738, allocations: 8 kB / 0.6527 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005956/0.07333, allocations: 4.867 MB / 0.6574 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.07334, allocations: 0 / 0.6574 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.0755, allocations: 1.128 MB / 0.6585 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.07581, allocations: 91.66 kB / 0.6586 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.901e-05/0.0759, allocations: 11.94 kB / 0.6586 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/0.0763, allocations: 27.97 kB / 0.6586 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.07643, allocations: 31.94 kB / 0.6587 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.34e-05/0.07648, allocations: 16 kB / 0.6587 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004107/0.07689, allocations: 290.9 kB / 0.659 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.07689, allocations: 4.062 kB / 0.659 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000822/0.07771, allocations: 164 kB / 0.6591 GB, free: 9.605 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001985/0.07791, allocations: 111.2 kB / 0.6592 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001965/0.07987, allocations: 0.9766 MB / 0.6602 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.07988, allocations: 0 / 0.6602 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.08103, allocations: 0.6642 MB / 0.6608 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.08205, allocations: 188.1 kB / 0.661 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.08452, allocations: 1.208 MB / 0.6622 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.085, allocations: 354.1 kB / 0.6625 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004004/0.0854, allocations: 112.8 kB / 0.6626 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.08552, allocations: 40.5 kB / 0.6627 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of SimCode: time 8.32e-07/0.08552, allocations: 0 / 0.6627 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of Templates: time 0.01902/0.1045, allocations: 9.025 MB / 0.6715 GB, free: 13.03 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.124661561101675] Failed to read output from testmodel.py, exit status != 0: 0.11468654125928879 0.1321255 0.100596904 Calling exit ...