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.00139/0.00139, allocations: 82.48 kB / 19.18 MB, free: 2.363 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.00137/0.00137, allocations: 172.2 kB / 22.45 MB, free: 4.984 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.394/1.394, allocations: 177.2 MB / 202.8 MB, free: 9.164 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.148/1.148, allocations: 154.7 MB / 413.9 MB, free: 5.16 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.393e-06/1.393e-06, allocations: 3.938 kB / 0.6187 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.452e-05, allocations: 2.281 kB / 0.6188 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007468/0.007492, allocations: 5.27 MB / 0.6239 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004795/0.01229, allocations: 2.595 MB / 0.6264 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002885/0.01258, allocations: 35.69 kB / 0.6265 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002049/0.01463, allocations: 0.6805 MB / 0.6271 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.01602, allocations: 429.5 kB / 0.6275 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.01717, allocations: 413.6 kB / 0.6279 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.01832, allocations: 0.9594 MB / 0.6289 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005775/0.0189, allocations: 382.4 kB / 0.6292 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007073/0.01961, allocations: 0.5143 MB / 0.6297 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005695/0.02018, allocations: 367 kB / 0.6301 GB, free: 8.891 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.79e-05/0.02025, allocations: 48 kB / 0.6301 GB, free: 8.844 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006001/0.02085, allocations: 327.2 kB / 0.6304 GB, free: 8.523 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002707/0.02112, allocations: 267.1 kB / 0.6307 GB, free: 8.262 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000273/0.0214, allocations: 231.5 kB / 0.6309 GB, free: 8.035 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.02256, allocations: 1.005 MB / 0.6319 GB, free: 7.027 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.02256, allocations: 0 / 0.6319 GB, free: 7.027 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.02256, allocations: 0 / 0.6319 GB, free: 7.027 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.02257, allocations: 0 / 0.6319 GB, free: 7.027 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.001632/0.0242, allocations: 0.9208 MB / 0.6328 GB, free: 6.074 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.02424, allocations: 8.031 kB / 0.6328 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.02562, allocations: 212.2 kB / 0.633 GB, free: 5.859 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008254/0.02644, allocations: 472.1 kB / 0.6335 GB, free: 5.375 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/0.0265, allocations: 41.36 kB / 0.6335 GB, free: 5.332 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.02665, allocations: 52.55 kB / 0.6336 GB, free: 5.281 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.02796, allocations: 0.9828 MB / 0.6345 GB, free: 4.184 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.02799, allocations: 4.188 kB / 0.6345 GB, free: 4.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.057e-05/0.02805, allocations: 28.11 kB / 0.6345 GB, free: 4.152 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001886/0.02824, allocations: 68.94 kB / 0.6346 GB, free: 4.086 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009207/0.02916, allocations: 0.5735 MB / 0.6352 GB, free: 3.512 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004066/0.03322, allocations: 3.457 MB / 0.6385 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.0337, allocations: 283.2 kB / 0.6388 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.03402, allocations: 205.3 kB / 0.639 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.03405, allocations: 12.22 kB / 0.639 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.03409, allocations: 38.84 kB / 0.6391 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.773e-06/0.03409, allocations: 3.938 kB / 0.6391 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.00571/0.0398, allocations: 2.333 MB / 0.6413 GB, free: 13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.03986, allocations: 55.41 kB / 0.6414 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005368/0.04039, allocations: 437.7 kB / 0.6418 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.04044, allocations: 33.7 kB / 0.6418 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.0407, allocations: 356.4 kB / 0.6422 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.04083, allocations: 146.8 kB / 0.6423 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.04101, allocations: 110.2 kB / 0.6424 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.0412, allocations: 362.7 kB / 0.6428 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.04157, allocations: 241.1 kB / 0.643 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005207/0.04209, allocations: 411.4 kB / 0.6434 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009589/0.04305, allocations: 0.674 MB / 0.6441 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.04305, allocations: 4 kB / 0.6441 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001791/0.04485, allocations: 0.9132 MB / 0.6449 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.04487, allocations: 6.188 kB / 0.645 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.04488, allocations: 8.656 kB / 0.645 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007984/0.04568, allocations: 222.3 kB / 0.6452 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005125/0.04619, allocations: 119.7 kB / 0.6453 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00563/0.05182, allocations: 4.93 MB / 0.6501 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.05235, allocations: 36.09 kB / 0.6501 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.05239, allocations: 23.94 kB / 0.6502 GB, free: 3.434 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.0003682/0.05276, allocations: 226.5 kB / 0.6504 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.259e-05/0.05285, allocations: 55.67 kB / 0.6504 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.05441, allocations: 0.7616 MB / 0.6512 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.05442, allocations: 4 kB / 0.6512 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.05442, allocations: 4 kB / 0.6512 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.05443, allocations: 0 / 0.6512 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/0.05687, allocations: 1.33 MB / 0.6525 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.05688, allocations: 3.984 kB / 0.6525 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.05725, allocations: 71.89 kB / 0.6526 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006885/0.05794, allocations: 210.6 kB / 0.6528 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.05797, allocations: 8 kB / 0.6528 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005141/0.06311, allocations: 4.863 MB / 0.6575 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.06312, allocations: 3.938 kB / 0.6575 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.06498, allocations: 1.124 MB / 0.6586 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/0.06519, allocations: 87.66 kB / 0.6587 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-05/0.06525, allocations: 19.92 kB / 0.6587 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/0.06556, allocations: 27.97 kB / 0.6587 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.036e-05/0.06565, allocations: 35.88 kB / 0.6588 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.06568, allocations: 12 kB / 0.6588 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003277/0.06601, allocations: 295 kB / 0.6591 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.06601, allocations: 0 / 0.6591 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006804/0.06669, allocations: 168 kB / 0.6592 GB, free: 9.688 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.0001672/0.06686, allocations: 113.7 kB / 0.6593 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001665/0.06852, allocations: 0.9688 MB / 0.6603 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.06853, allocations: 0 / 0.6603 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009775/0.0695, allocations: 0.668 MB / 0.6609 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008071/0.07031, allocations: 187.7 kB / 0.6611 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.07235, allocations: 1.203 MB / 0.6623 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.07274, allocations: 358.1 kB / 0.6626 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003226/0.07306, allocations: 116.8 kB / 0.6627 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.246e-05/0.07315, allocations: 32.5 kB / 0.6628 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of SimCode: time 7.32e-07/0.07315, allocations: 4 kB / 0.6628 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of Templates: time 0.01659/0.08975, allocations: 9.113 MB / 0.6717 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: 5.839300464838743] Failed to read output from testmodel.py, exit status != 0: 0.09881256520748138 0.112675679 0.08701323600000001 Calling exit ...