Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 106.3 kB / 16.27 MB, free: 6.352 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.001193/0.001193, allocations: 193 kB / 17.2 MB, free: 5.953 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.396/1.396, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8877/0.8877, allocations: 126.1 MB / 417.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 59.91 kB / 0.495 GB, free: 3.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.4459, allocations: 78.69 MB / 0.5718 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005041/0.451, allocations: 3.252 MB / 0.575 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003213/0.4542, allocations: 2.012 MB / 0.577 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.4544, allocations: 9.438 kB / 0.577 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008943/0.4553, allocations: 290.4 kB / 0.5772 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000498/0.4559, allocations: 229.7 kB / 0.5775 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006906/0.4566, allocations: 300.2 kB / 0.5778 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003991/0.457, allocations: 404.8 kB / 0.5781 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000435/0.4574, allocations: 206.9 kB / 0.5783 GB, free: 26.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.4577, allocations: 164.5 kB / 0.5785 GB, free: 26.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004286/0.4581, allocations: 198.6 kB / 0.5787 GB, free: 26.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.392e-05/0.4582, allocations: 23.84 kB / 0.5787 GB, free: 26.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000494/0.4587, allocations: 268.2 kB / 0.579 GB, free: 26.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.4588, allocations: 118 kB / 0.5791 GB, free: 26.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.459, allocations: 147 kB / 0.5792 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005516/0.4595, allocations: 490.5 kB / 0.5797 GB, free: 26.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4596, allocations: 0 / 0.5797 GB, free: 26.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4596, allocations: 4.312 kB / 0.5797 GB, free: 26.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.445e-06/0.4596, allocations: 0 / 0.5797 GB, free: 26.14 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001081/0.4607, allocations: 0.5969 MB / 0.5803 GB, free: 25.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.4607, allocations: 9 kB / 0.5803 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009898/0.4617, allocations: 114.3 kB / 0.5804 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.462, allocations: 278 kB / 0.5807 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.462, allocations: 19.31 kB / 0.5807 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.4622, allocations: 37.41 kB / 0.5807 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006101/0.4628, allocations: 460.4 kB / 0.5811 GB, free: 24.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.4628, allocations: 0.5625 kB / 0.5811 GB, free: 24.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.4629, allocations: 9.062 kB / 0.5812 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/0.463, allocations: 38.44 kB / 0.5812 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005522/0.4636, allocations: 366.6 kB / 0.5815 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.4656, allocations: 2.228 MB / 0.5837 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.466, allocations: 265.3 kB / 0.584 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.4662, allocations: 166.2 kB / 0.5841 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.4662, allocations: 2.438 kB / 0.5841 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.4663, allocations: 36.59 kB / 0.5842 GB, free: 22.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.272e-06/0.4663, allocations: 0 / 0.5842 GB, free: 22.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001628/0.4679, allocations: 1.055 MB / 0.5852 GB, free: 21.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.4679, allocations: 53.84 kB / 0.5852 GB, free: 21.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.4682, allocations: 261.8 kB / 0.5855 GB, free: 21.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.4682, allocations: 31.14 kB / 0.5855 GB, free: 21.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.621e-05/0.4683, allocations: 188.8 kB / 0.5857 GB, free: 21.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.166e-05/0.4684, allocations: 85.11 kB / 0.5858 GB, free: 21.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.4685, allocations: 76.31 kB / 0.5859 GB, free: 21.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.743e-05/0.4686, allocations: 333.4 kB / 0.5862 GB, free: 20.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.4689, allocations: 167.2 kB / 0.5863 GB, free: 20.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.4692, allocations: 249.1 kB / 0.5866 GB, free: 20.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/0.4697, allocations: 403.7 kB / 0.587 GB, free: 20.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4697, allocations: 0 / 0.587 GB, free: 20.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001059/0.4708, allocations: 0.6026 MB / 0.5875 GB, free: 19.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.4708, allocations: 7.969 kB / 0.5876 GB, free: 19.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4708, allocations: 2.75 kB / 0.5876 GB, free: 19.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006311/0.4714, allocations: 190.2 kB / 0.5877 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.4717, allocations: 65.92 kB / 0.5878 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.4742, allocations: 2.501 MB / 0.5902 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.4745, allocations: 25.84 kB / 0.5903 GB, free: 17.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.4746, allocations: 15.38 kB / 0.5903 GB, free: 17.76 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.4747, allocations: 165.6 kB / 0.5904 GB, free: 17.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/0.4748, allocations: 26.62 kB / 0.5905 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000503/0.4753, allocations: 351.8 kB / 0.5908 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.4753, allocations: 2.5 kB / 0.5908 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.4753, allocations: 1.281 kB / 0.5908 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.4753, allocations: 5.016 kB / 0.5908 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009521/0.4763, allocations: 0.8165 MB / 0.5916 GB, free: 16.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4763, allocations: 0 / 0.5916 GB, free: 16.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.4767, allocations: 77.94 kB / 0.5917 GB, free: 16.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.4767, allocations: 3.125 kB / 0.5917 GB, free: 16.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.4767, allocations: 10.84 kB / 0.5917 GB, free: 16.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4767, allocations: 2.781 kB / 0.5917 GB, free: 16.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4768, allocations: 5.484 kB / 0.5917 GB, free: 16.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006861/0.4774, allocations: 0.6086 MB / 0.5923 GB, free: 16.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.4776, allocations: 128.2 kB / 0.5924 GB, free: 16.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.4776, allocations: 14.2 kB / 0.5924 GB, free: 16.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.4779, allocations: 14.92 kB / 0.5924 GB, free: 16.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.4779, allocations: 23.3 kB / 0.5925 GB, free: 16.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.4779, allocations: 5.062 kB / 0.5925 GB, free: 16.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002098/0.4781, allocations: 190.3 kB / 0.5927 GB, free: 16.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4782, allocations: 0 / 0.5927 GB, free: 16.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004499/0.4786, allocations: 90.12 kB / 0.5927 GB, free: 16.05 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001636/0.4788, allocations: 115.7 kB / 0.5929 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000991/0.4798, allocations: 0.5697 MB / 0.5934 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4798, allocations: 5.875 kB / 0.5934 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.48, allocations: 151.7 kB / 0.5936 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.4805, allocations: 54.41 kB / 0.5936 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.4817, allocations: 0.8401 MB / 0.5944 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.4819, allocations: 0.7949 MB / 0.5952 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002082/0.4822, allocations: 82.91 kB / 0.5953 GB, free: 13.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/0.4822, allocations: 27.44 kB / 0.5953 GB, free: 13.79 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4822, allocations: 0 / 0.5953 GB, free: 13.79 MB / 446.1 MB Notification: Performance of Templates: time 0.006479/0.4887, allocations: 4.105 MB / 0.5993 GB, free: 9.711 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)