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.001029/0.001029, 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.00103/0.00103, 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.345/1.345, 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.7275/0.7275, allocations: 115.1 MB / 406.9 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3508, 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.006832/0.3577, allocations: 5.455 MB / 0.5629 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004519/0.3623, allocations: 2.616 MB / 0.5655 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004709/0.3628, allocations: 20.34 kB / 0.5655 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.3645, allocations: 0.691 MB / 0.5662 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009853/0.3655, allocations: 410.3 kB / 0.5665 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.3666, allocations: 391.5 kB / 0.5669 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.3678, allocations: 0.9488 MB / 0.5678 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007038/0.3685, allocations: 468.2 kB / 0.5683 GB, free: 29.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004953/0.369, allocations: 374.4 kB / 0.5686 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005541/0.3696, allocations: 404.5 kB / 0.569 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.757e-05/0.3697, allocations: 48.03 kB / 0.5691 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006595/0.3703, allocations: 360.6 kB / 0.5694 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002564/0.3706, allocations: 251 kB / 0.5697 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003026/0.3709, allocations: 350.1 kB / 0.57 GB, free: 28.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.372, allocations: 0.9668 MB / 0.5709 GB, free: 28.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.372, allocations: 0 / 0.5709 GB, free: 28.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.372, allocations: 0 / 0.5709 GB, free: 28.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.372, allocations: 0 / 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.001567/0.3736, allocations: 0.9722 MB / 0.5719 GB, free: 27.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3736, allocations: 9.578 kB / 0.5719 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.375, allocations: 195.7 kB / 0.5721 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008304/0.3759, allocations: 0.5076 MB / 0.5726 GB, free: 27.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.3759, allocations: 41.36 kB / 0.5726 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.3761, allocations: 55.12 kB / 0.5727 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.3771, allocations: 0.8321 MB / 0.5735 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.3772, allocations: 7.891 kB / 0.5735 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.652e-05/0.3772, allocations: 30.77 kB / 0.5735 GB, free: 27.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001834/0.3774, allocations: 64.58 kB / 0.5736 GB, free: 27.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008357/0.3783, allocations: 0.5695 MB / 0.5741 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003518/0.3818, allocations: 4.572 MB / 0.5786 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004303/0.3822, allocations: 298.7 kB / 0.5789 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.3825, allocations: 230.1 kB / 0.5791 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.3826, allocations: 3.594 kB / 0.5791 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.3826, allocations: 37.88 kB / 0.5791 GB, free: 22.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.013e-06/0.3826, allocations: 4.469 kB / 0.5792 GB, free: 22.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.005222/0.3879, allocations: 2.62 MB / 0.5817 GB, free: 21.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.3879, allocations: 55.47 kB / 0.5818 GB, free: 21.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004602/0.3884, allocations: 464.2 kB / 0.5822 GB, free: 21.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.3884, allocations: 32.55 kB / 0.5822 GB, free: 20.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.3886, allocations: 342.7 kB / 0.5826 GB, free: 20.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.3887, allocations: 137.4 kB / 0.5827 GB, free: 20.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.3889, allocations: 109.5 kB / 0.5828 GB, free: 20.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.519e-05/0.3889, allocations: 359.5 kB / 0.5831 GB, free: 20.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.3893, allocations: 238.6 kB / 0.5834 GB, free: 20.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.3897, allocations: 412 kB / 0.5838 GB, free: 19.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007401/0.3904, allocations: 0.6766 MB / 0.5844 GB, free: 19.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.3905, allocations: 0.9062 kB / 0.5844 GB, free: 19.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001544/0.392, allocations: 0.9201 MB / 0.5853 GB, free: 19.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.392, allocations: 11.25 kB / 0.5853 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.392, allocations: 6.875 kB / 0.5853 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008038/0.3929, allocations: 230.4 kB / 0.5856 GB, free: 18.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005087/0.3934, allocations: 112 kB / 0.5857 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003981/0.3974, allocations: 5.342 MB / 0.5909 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004481/0.3978, allocations: 34.06 kB / 0.5909 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.3979, allocations: 23.31 kB / 0.5909 GB, free: 14.2 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.000276/0.3982, allocations: 223.5 kB / 0.5912 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-05/0.3983, allocations: 63.5 kB / 0.5912 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.3996, allocations: 0.77 MB / 0.592 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3996, allocations: 8.625 kB / 0.592 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3996, allocations: 2.188 kB / 0.592 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3996, allocations: 1.031 kB / 0.592 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.4018, allocations: 1.495 MB / 0.5934 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.4018, allocations: 1.938 kB / 0.5934 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003527/0.4022, allocations: 68.78 kB / 0.5935 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005977/0.4028, allocations: 202.7 kB / 0.5937 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.4028, allocations: 13 kB / 0.5937 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003653/0.4065, allocations: 5.276 MB / 0.5989 GB, free: 7.367 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4065, allocations: 14.25 kB / 0.5989 GB, free: 7.355 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.4081, allocations: 1.125 MB / 0.6 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.4084, allocations: 170 kB / 0.6001 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.295e-05/0.4085, allocations: 20.36 kB / 0.6002 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.4088, allocations: 31.97 kB / 0.6002 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.303e-05/0.4089, allocations: 38.95 kB / 0.6002 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.409, allocations: 9.688 kB / 0.6002 GB, free: 6.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003049/0.4093, allocations: 311.8 kB / 0.6005 GB, free: 6.242 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4093, allocations: 0 / 0.6005 GB, free: 6.242 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000743/0.41, allocations: 170.3 kB / 0.6007 GB, free: 6.223 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.00013/0.4102, allocations: 122.6 kB / 0.6008 GB, free: 6.109 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.4116, allocations: 1.011 MB / 0.6018 GB, free: 5.348 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4116, allocations: 4.125 kB / 0.6018 GB, free: 5.344 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007292/0.4124, allocations: 0.6681 MB / 0.6025 GB, free: 4.637 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007977/0.4132, allocations: 179.2 kB / 0.6026 GB, free: 4.473 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.4149, allocations: 1.261 MB / 0.6039 GB, free: 3.164 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.4152, allocations: 0.9455 MB / 0.6048 GB, free: 2.191 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000291/0.4155, allocations: 113 kB / 0.6049 GB, free: 2.078 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.125e-05/0.4156, allocations: 43.44 kB / 0.6049 GB, free: 2.035 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4156, allocations: 0 / 0.6049 GB, free: 2.035 MB / 446.1 MB Notification: Performance of Templates: time 0.0153/0.4309, allocations: 8.827 MB / 0.6135 GB, free: 9.336 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)