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.001918/0.001918, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002392/0.002392, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.591/1.591, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.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.334/1.334, allocations: 203.5 MB / 0.5038 GB, free: 4.914 MB / 414.1 MB " [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: 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.002154/0.002154, allocations: 75.86 kB / 0.7183 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6128/0.615, allocations: 102 MB / 0.8179 GB, free: 29.09 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.0092/0.6242, allocations: 5.349 MB / 0.8231 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006662/0.6308, allocations: 2.633 MB / 0.8256 GB, free: 24.02 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009403/0.6318, allocations: 32.03 kB / 0.8257 GB, free: 24 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.634, allocations: 0.6788 MB / 0.8263 GB, free: 23.62 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.6357, allocations: 430.6 kB / 0.8268 GB, free: 23.38 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.6371, allocations: 405.7 kB / 0.8271 GB, free: 23.18 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001704/0.6388, allocations: 0.9615 MB / 0.8281 GB, free: 22.75 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007491/0.6395, allocations: 378.1 kB / 0.8284 GB, free: 22.57 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009362/0.6405, allocations: 395.1 kB / 0.8288 GB, free: 22.41 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006778/0.6412, allocations: 410.6 kB / 0.8292 GB, free: 22.26 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 9.444e-05/0.6412, allocations: 48.03 kB / 0.8293 GB, free: 22.26 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008757/0.6421, allocations: 325.8 kB / 0.8296 GB, free: 22.16 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003029/0.6424, allocations: 255 kB / 0.8298 GB, free: 22.05 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003315/0.6428, allocations: 293.8 kB / 0.8301 GB, free: 21.91 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.6443, allocations: 0.9852 MB / 0.831 GB, free: 21.57 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6443, allocations: 0 / 0.831 GB, free: 21.57 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6443, allocations: 1.531 kB / 0.8311 GB, free: 21.57 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.6443, allocations: 0 / 0.8311 GB, free: 21.57 MB / 0.6387 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.00174/0.646, allocations: 0.9221 MB / 0.832 GB, free: 20.94 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.6461, allocations: 12.59 kB / 0.832 GB, free: 20.93 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.6475, allocations: 202.7 kB / 0.8322 GB, free: 20.88 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009459/0.6484, allocations: 470.2 kB / 0.8326 GB, free: 20.59 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.6485, allocations: 41.17 kB / 0.8326 GB, free: 20.56 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.6487, allocations: 52.77 kB / 0.8327 GB, free: 20.55 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.6501, allocations: 0.9783 MB / 0.8336 GB, free: 19.89 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.6502, allocations: 10.66 kB / 0.8337 GB, free: 19.89 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.346e-05/0.6502, allocations: 23.42 kB / 0.8337 GB, free: 19.87 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002391/0.6505, allocations: 64.16 kB / 0.8337 GB, free: 19.87 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.6515, allocations: 0.5702 MB / 0.8343 GB, free: 19.66 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004014/0.6556, allocations: 3.482 MB / 0.8377 GB, free: 16.93 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000521/0.6561, allocations: 279 kB / 0.838 GB, free: 16.82 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.6564, allocations: 219.7 kB / 0.8382 GB, free: 16.73 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.6564, allocations: 4.156 kB / 0.8382 GB, free: 16.73 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.6564, allocations: 38.23 kB / 0.8382 GB, free: 16.68 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=33): time 2.925e-06/0.6565, allocations: 0 / 0.8382 GB, free: 16.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=40): time 0.006038/0.6625, allocations: 2.339 MB / 0.8405 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.6625, allocations: 55.03 kB / 0.8406 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/0.663, allocations: 433.9 kB / 0.841 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.6631, allocations: 36.39 kB / 0.841 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.6633, allocations: 359.3 kB / 0.8413 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.6634, allocations: 147.7 kB / 0.8415 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.6635, allocations: 104.1 kB / 0.8416 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.623e-05/0.6636, allocations: 367.2 kB / 0.8419 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.664, allocations: 237.2 kB / 0.8422 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004829/0.6645, allocations: 410.8 kB / 0.8426 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008899/0.6654, allocations: 0.6749 MB / 0.8432 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6654, allocations: 1.219 kB / 0.8432 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001984/0.6674, allocations: 0.9094 MB / 0.8441 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.6674, allocations: 8.656 kB / 0.8441 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.6674, allocations: 5.094 kB / 0.8441 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009654/0.6684, allocations: 224.4 kB / 0.8443 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006077/0.669, allocations: 115.9 kB / 0.8444 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005022/0.674, allocations: 4.943 MB / 0.8493 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006013/0.6746, allocations: 29.7 kB / 0.8493 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/0.6747, allocations: 27.88 kB / 0.8493 GB, free: 9.082 MB / 0.6387 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.0004568/0.6751, allocations: 218.2 kB / 0.8495 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.6752, allocations: 63.12 kB / 0.8496 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.677, allocations: 0.7576 MB / 0.8503 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.677, allocations: 4.281 kB / 0.8503 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.677, allocations: 6.75 kB / 0.8503 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.677, allocations: 6.828 kB / 0.8503 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/0.6797, allocations: 1.326 MB / 0.8516 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.6797, allocations: 2.219 kB / 0.8516 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004187/0.6801, allocations: 71.27 kB / 0.8517 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007445/0.6809, allocations: 215.7 kB / 0.8519 GB, free: 7.785 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/0.6809, allocations: 9.031 kB / 0.8519 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004561/0.6855, allocations: 4.863 MB / 0.8567 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.6855, allocations: 2.312 kB / 0.8567 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.6876, allocations: 1.134 MB / 0.8578 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/0.6879, allocations: 93.8 kB / 0.8579 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.781e-05/0.688, allocations: 8.844 kB / 0.8579 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.6884, allocations: 29.05 kB / 0.8579 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.6885, allocations: 36.39 kB / 0.8579 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.6885, allocations: 18.7 kB / 0.858 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003997/0.6889, allocations: 293.8 kB / 0.8582 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.6889, allocations: 0 / 0.8582 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009766/0.6899, allocations: 167.1 kB / 0.8584 GB, free: 2.824 MB / 0.6387 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.0001399/0.69, allocations: 112.1 kB / 0.8585 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.6917, allocations: 0.9659 MB / 0.8595 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6917, allocations: 0 / 0.8595 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009463/0.6927, allocations: 0.6733 MB / 0.8601 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009149/0.6936, allocations: 173.1 kB / 0.8603 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.6964, allocations: 1.281 MB / 0.8615 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005899/0.697, allocations: 352 kB / 0.8619 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004631/0.6975, allocations: 113 kB / 0.862 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.6976, allocations: 34.52 kB / 0.862 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of SimCode: time 3.206e-06/0.6976, allocations: 0 / 0.862 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of Templates: time 0.0219/0.7195, allocations: 9.837 MB / 0.8716 GB, free: 12.01 MB / 0.6544 GB " [Timeout remaining time 659] 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: 7.163679288700223] Failed to read output from testmodel.py, exit status != 0: 0.7295543607324362 0.744851355 0.097192999 Calling exit ...