Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 114.1 kB / 17.04 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 196 kB / 17.98 MB, free: 5.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7272/0.7272, allocations: 115.1 MB / 407 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.89 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3473, allocations: 76.14 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006696/0.354, allocations: 5.441 MB / 0.5629 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004085/0.3581, allocations: 2.621 MB / 0.5655 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005014/0.3587, allocations: 20.69 kB / 0.5655 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.3605, allocations: 0.6848 MB / 0.5661 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.3616, allocations: 410.6 kB / 0.5665 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.3628, allocations: 392.9 kB / 0.5669 GB, free: 30.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.364, allocations: 0.9539 MB / 0.5678 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000752/0.3647, allocations: 465.6 kB / 0.5683 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000649/0.3654, allocations: 372.5 kB / 0.5686 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006756/0.3661, allocations: 402.4 kB / 0.569 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.3662, allocations: 47.44 kB / 0.5691 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.3673, allocations: 364 kB / 0.5694 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003931/0.3677, allocations: 251.1 kB / 0.5697 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005745/0.3683, allocations: 346.9 kB / 0.57 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.3702, allocations: 0.9704 MB / 0.5709 GB, free: 28.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.3702, allocations: 5.25 kB / 0.5709 GB, free: 28.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.3702, allocations: 0 / 0.5709 GB, free: 28.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.3702, allocations: 1.266 kB / 0.5709 GB, free: 28.64 MB / 446.1 MB 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.00188/0.3721, allocations: 0.9631 MB / 0.5719 GB, free: 27.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3722, allocations: 10.34 kB / 0.5719 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.3737, allocations: 194 kB / 0.5721 GB, free: 27.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008931/0.3746, allocations: 0.515 MB / 0.5726 GB, free: 27.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.3746, allocations: 39.59 kB / 0.5726 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.3748, allocations: 59.5 kB / 0.5727 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.3759, allocations: 0.8344 MB / 0.5735 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.376, allocations: 11.61 kB / 0.5735 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.006e-05/0.376, allocations: 20.22 kB / 0.5735 GB, free: 27.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002086/0.3762, allocations: 68.33 kB / 0.5736 GB, free: 27.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009573/0.3772, allocations: 0.5694 MB / 0.5741 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003893/0.3811, allocations: 4.575 MB / 0.5786 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004644/0.3816, allocations: 302.7 kB / 0.5789 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.3819, allocations: 228.3 kB / 0.5791 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.3819, allocations: 3.844 kB / 0.5791 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.382, allocations: 38.34 kB / 0.5792 GB, free: 22.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.123e-06/0.382, allocations: 0 / 0.5792 GB, free: 22.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.005525/0.3875, allocations: 2.622 MB / 0.5817 GB, free: 21.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.3876, allocations: 60.8 kB / 0.5818 GB, free: 21.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.3881, allocations: 459.5 kB / 0.5822 GB, free: 21.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.031e-05/0.3881, allocations: 36.05 kB / 0.5822 GB, free: 20.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.3883, allocations: 333.5 kB / 0.5826 GB, free: 20.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.546e-05/0.3884, allocations: 145.5 kB / 0.5827 GB, free: 20.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.3886, allocations: 103 kB / 0.5828 GB, free: 20.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.892e-05/0.3887, allocations: 362.8 kB / 0.5832 GB, free: 20.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.389, allocations: 238.2 kB / 0.5834 GB, free: 20.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/0.3895, allocations: 412 kB / 0.5838 GB, free: 19.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008023/0.3903, allocations: 0.673 MB / 0.5844 GB, free: 19.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3903, allocations: 1.125 kB / 0.5844 GB, free: 19.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001664/0.3919, allocations: 0.9231 MB / 0.5853 GB, free: 19.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.392, allocations: 8.531 kB / 0.5853 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.392, allocations: 5.094 kB / 0.5853 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008072/0.3928, allocations: 224.6 kB / 0.5856 GB, free: 18.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005205/0.3933, allocations: 115.5 kB / 0.5857 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004292/0.3976, allocations: 5.332 MB / 0.5909 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005644/0.3982, allocations: 37.44 kB / 0.5909 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.095e-05/0.3983, allocations: 23.41 kB / 0.5909 GB, free: 14.21 MB / 446.1 MB 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.0003382/0.3986, allocations: 219.5 kB / 0.5911 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.3988, allocations: 64.3 kB / 0.5912 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.4003, allocations: 0.7739 MB / 0.592 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.4003, allocations: 4.656 kB / 0.592 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.4003, allocations: 5.547 kB / 0.592 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.4003, allocations: 1.531 kB / 0.592 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.4029, allocations: 1.502 MB / 0.5934 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.4029, allocations: 1.594 kB / 0.5934 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003863/0.4033, allocations: 78.56 kB / 0.5935 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006735/0.404, allocations: 209.5 kB / 0.5937 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.4041, allocations: 8.125 kB / 0.5937 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003937/0.408, allocations: 5.273 MB / 0.5989 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.408, allocations: 2.281 kB / 0.5989 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.4098, allocations: 1.133 MB / 0.6 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/0.4102, allocations: 165.7 kB / 0.6001 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.4103, allocations: 12.22 kB / 0.6001 GB, free: 6.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.4107, allocations: 31.36 kB / 0.6002 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.4108, allocations: 36 kB / 0.6002 GB, free: 6.445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.4109, allocations: 17.06 kB / 0.6002 GB, free: 6.438 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004313/0.4113, allocations: 311 kB / 0.6005 GB, free: 6.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4113, allocations: 1.094 kB / 0.6005 GB, free: 6.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001035/0.4124, allocations: 169.7 kB / 0.6007 GB, free: 6.23 MB / 446.1 MB 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.0001989/0.4126, allocations: 111 kB / 0.6008 GB, free: 6.129 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.4143, allocations: 1.015 MB / 0.6018 GB, free: 5.355 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.4144, allocations: 0 / 0.6018 GB, free: 5.355 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008306/0.4152, allocations: 0.676 MB / 0.6024 GB, free: 4.641 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009419/0.4162, allocations: 194 kB / 0.6026 GB, free: 4.461 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.4182, allocations: 1.249 MB / 0.6039 GB, free: 3.164 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.4187, allocations: 0.9494 MB / 0.6048 GB, free: 2.188 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000348/0.419, allocations: 113 kB / 0.6049 GB, free: 2.074 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.648e-05/0.4191, allocations: 39.42 kB / 0.6049 GB, free: 2.035 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4191, allocations: 0 / 0.6049 GB, free: 2.035 MB / 446.1 MB Notification: Performance of Templates: time 0.01569/0.4348, allocations: 8.836 MB / 0.6136 GB, free: 9.324 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)