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.001244/0.001244, allocations: 103.7 kB / 16.64 MB, free: 6.82 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.001334/0.001334, allocations: 193.9 kB / 17.57 MB, free: 5.934 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.476/1.476, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7903/0.7903, allocations: 122.9 MB / 414.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 64.05 kB / 0.4913 GB, free: 7.828 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3901, allocations: 77.91 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006216/0.3964, allocations: 5.478 MB / 0.5727 GB, free: 29.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003766/0.4002, allocations: 2.597 MB / 0.5752 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004086/0.4006, allocations: 23.03 kB / 0.5752 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.4022, allocations: 0.6366 MB / 0.5759 GB, free: 26.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009545/0.4032, allocations: 376.5 kB / 0.5762 GB, free: 26.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009428/0.4041, allocations: 360 kB / 0.5766 GB, free: 26.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000997/0.4051, allocations: 0.953 MB / 0.5775 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007107/0.4059, allocations: 0.5237 MB / 0.578 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004559/0.4063, allocations: 372.2 kB / 0.5784 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004669/0.4068, allocations: 417.6 kB / 0.5788 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.387e-05/0.4069, allocations: 47.31 kB / 0.5788 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006234/0.4075, allocations: 367.8 kB / 0.5792 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002244/0.4077, allocations: 236.5 kB / 0.5794 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.408, allocations: 350.3 kB / 0.5797 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008398/0.4089, allocations: 0.7493 MB / 0.5805 GB, free: 24.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4089, allocations: 0 / 0.5805 GB, free: 24.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4089, allocations: 0 / 0.5805 GB, free: 24.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.4089, allocations: 3.938 kB / 0.5805 GB, free: 24.91 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.001411/0.4103, allocations: 0.9715 MB / 0.5814 GB, free: 24.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.4104, allocations: 10.88 kB / 0.5814 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.4118, allocations: 201.2 kB / 0.5816 GB, free: 24.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005793/0.4124, allocations: 492.9 kB / 0.5821 GB, free: 23.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.4124, allocations: 35.19 kB / 0.5821 GB, free: 23.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.4125, allocations: 54.36 kB / 0.5822 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.4136, allocations: 0.8323 MB / 0.583 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.4136, allocations: 2.156 kB / 0.583 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-05/0.4137, allocations: 22.62 kB / 0.583 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000185/0.4139, allocations: 62.45 kB / 0.5831 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007549/0.4146, allocations: 0.5775 MB / 0.5836 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003291/0.4179, allocations: 4.582 MB / 0.5881 GB, free: 18.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/0.4183, allocations: 288.7 kB / 0.5884 GB, free: 18.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.4186, allocations: 226.8 kB / 0.5886 GB, free: 18.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.4187, allocations: 8.359 kB / 0.5886 GB, free: 18.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.4187, allocations: 41.66 kB / 0.5886 GB, free: 18.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.294e-06/0.4187, allocations: 0 / 0.5886 GB, free: 18.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.005111/0.4238, allocations: 2.628 MB / 0.5912 GB, free: 16.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.4239, allocations: 55.84 kB / 0.5913 GB, free: 16.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004554/0.4243, allocations: 463 kB / 0.5917 GB, free: 16.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.4244, allocations: 35.77 kB / 0.5917 GB, free: 16.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.4245, allocations: 339.6 kB / 0.5921 GB, free: 15.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.45e-05/0.4246, allocations: 140.5 kB / 0.5922 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.4248, allocations: 105.9 kB / 0.5923 GB, free: 15.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.112e-05/0.4248, allocations: 368.1 kB / 0.5926 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.4252, allocations: 235.5 kB / 0.5929 GB, free: 15.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.4256, allocations: 413 kB / 0.5933 GB, free: 14.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007388/0.4263, allocations: 0.6808 MB / 0.5939 GB, free: 14.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.4263, allocations: 1.156 kB / 0.5939 GB, free: 14.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001563/0.4279, allocations: 0.9244 MB / 0.5948 GB, free: 13.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.4279, allocations: 8.125 kB / 0.5948 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.4279, allocations: 8.547 kB / 0.5948 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007601/0.4287, allocations: 226.6 kB / 0.5951 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/0.4292, allocations: 116.2 kB / 0.5952 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003747/0.433, allocations: 5.338 MB / 0.6004 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.4335, allocations: 35.97 kB / 0.6004 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.4335, allocations: 20 kB / 0.6004 GB, free: 7.848 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.0002658/0.4338, allocations: 229.7 kB / 0.6007 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/0.4339, allocations: 59.28 kB / 0.6007 GB, free: 7.555 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.4352, allocations: 0.7697 MB / 0.6015 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4352, allocations: 4 kB / 0.6015 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4352, allocations: 7.938 kB / 0.6015 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4352, allocations: 0 / 0.6015 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.4372, allocations: 1.498 MB / 0.6029 GB, free: 5.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.4373, allocations: 4 kB / 0.6029 GB, free: 5.164 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.4376, allocations: 63.94 kB / 0.603 GB, free: 5.102 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006447/0.4383, allocations: 206.5 kB / 0.6032 GB, free: 4.891 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.4383, allocations: 12 kB / 0.6032 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003821/0.4422, allocations: 5.289 MB / 0.6084 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4422, allocations: 4 kB / 0.6084 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.444, allocations: 1.133 MB / 0.6095 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/0.4443, allocations: 168.4 kB / 0.6096 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.4444, allocations: 15.92 kB / 0.6097 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/0.4448, allocations: 23.97 kB / 0.6097 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.694e-05/0.4449, allocations: 31.97 kB / 0.6097 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.4449, allocations: 15.98 kB / 0.6097 GB, free: 13.71 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003488/0.4453, allocations: 314.9 kB / 0.61 GB, free: 13.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4453, allocations: 3.938 kB / 0.61 GB, free: 13.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007254/0.446, allocations: 164 kB / 0.6102 GB, free: 13.24 MB / 462.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.0001467/0.4462, allocations: 115.1 kB / 0.6103 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.4479, allocations: 1.059 MB / 0.6113 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4479, allocations: 3.938 kB / 0.6113 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009457/0.4489, allocations: 0.6799 MB / 0.612 GB, free: 11.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009432/0.4498, allocations: 188.3 kB / 0.6122 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.4522, allocations: 1.563 MB / 0.6137 GB, free: 9.512 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.4527, allocations: 0.9416 MB / 0.6146 GB, free: 8.539 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.4529, allocations: 43.44 kB / 0.6147 GB, free: 8.496 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4529, allocations: 0 / 0.6147 GB, free: 8.496 MB / 462.1 MB Notification: Performance of Templates: time 0.0178/0.4707, allocations: 14.76 MB / 0.6291 GB, free: 9.785 MB / 478.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)