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.001304/0.001304, allocations: 102.1 kB / 16.27 MB, free: 5.98 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.001814/0.001814, allocations: 189.9 kB / 17.2 MB, free: 5.609 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.414/1.414, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7672/0.7672, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 59.91 kB / 0.4911 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4154, allocations: 77.93 MB / 0.5672 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004384/0.4198, allocations: 3.249 MB / 0.5704 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002867/0.4227, allocations: 2.011 MB / 0.5723 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.4229, allocations: 12.59 kB / 0.5724 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.4239, allocations: 286.1 kB / 0.5726 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006289/0.4246, allocations: 230.6 kB / 0.5728 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008202/0.4254, allocations: 298.4 kB / 0.5731 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005977/0.426, allocations: 398.8 kB / 0.5735 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004824/0.4265, allocations: 207 kB / 0.5737 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002815/0.4268, allocations: 162.1 kB / 0.5739 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004598/0.4273, allocations: 199.8 kB / 0.5741 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.4273, allocations: 28.88 kB / 0.5741 GB, free: 28.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005668/0.4279, allocations: 265.3 kB / 0.5743 GB, free: 28.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.4281, allocations: 117 kB / 0.5744 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.4283, allocations: 153 kB / 0.5746 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006767/0.4289, allocations: 489 kB / 0.5751 GB, free: 27.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.429, allocations: 2.188 kB / 0.5751 GB, free: 27.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.429, allocations: 0 / 0.5751 GB, free: 27.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.429, allocations: 1.094 kB / 0.5751 GB, free: 27.93 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.001014/0.43, allocations: 0.5983 MB / 0.5756 GB, free: 27.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.43, allocations: 11.12 kB / 0.5757 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.4311, allocations: 112.8 kB / 0.5758 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.4314, allocations: 280 kB / 0.576 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.4314, allocations: 18.94 kB / 0.576 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.4315, allocations: 36.42 kB / 0.5761 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006747/0.4322, allocations: 455.8 kB / 0.5765 GB, free: 26.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.4323, allocations: 1.562 kB / 0.5765 GB, free: 26.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.4323, allocations: 8.312 kB / 0.5765 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001375/0.4324, allocations: 40.03 kB / 0.5766 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005738/0.433, allocations: 367.1 kB / 0.5769 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.4352, allocations: 2.227 MB / 0.5791 GB, free: 24.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.4356, allocations: 268.9 kB / 0.5793 GB, free: 24.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.4358, allocations: 160.1 kB / 0.5795 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.4358, allocations: 4.469 kB / 0.5795 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.4359, allocations: 32.45 kB / 0.5795 GB, free: 24.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.4359, allocations: 0 / 0.5795 GB, free: 24.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001744/0.4376, allocations: 1.056 MB / 0.5806 GB, free: 24.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.4377, allocations: 60.16 kB / 0.5806 GB, free: 24.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.438, allocations: 254.7 kB / 0.5809 GB, free: 23.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.438, allocations: 31.42 kB / 0.5809 GB, free: 23.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.517e-05/0.4381, allocations: 186.7 kB / 0.5811 GB, free: 23.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.479e-05/0.4382, allocations: 86.75 kB / 0.5812 GB, free: 23.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.4383, allocations: 78.64 kB / 0.5812 GB, free: 23.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.758e-05/0.4384, allocations: 341.4 kB / 0.5816 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.4387, allocations: 159 kB / 0.5817 GB, free: 23.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.439, allocations: 244.5 kB / 0.5819 GB, free: 22.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005103/0.4395, allocations: 406.8 kB / 0.5823 GB, free: 22.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4395, allocations: 1.5 kB / 0.5823 GB, free: 22.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001073/0.4406, allocations: 0.5977 MB / 0.5829 GB, free: 22.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4407, allocations: 10.5 kB / 0.5829 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4407, allocations: 6.688 kB / 0.5829 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006289/0.4413, allocations: 191.7 kB / 0.5831 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.4416, allocations: 61.86 kB / 0.5832 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.444, allocations: 2.501 MB / 0.5856 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.4444, allocations: 29.36 kB / 0.5856 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.4445, allocations: 16.36 kB / 0.5857 GB, free: 20.23 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.000173/0.4446, allocations: 164.3 kB / 0.5858 GB, free: 20.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.97e-05/0.4447, allocations: 26.48 kB / 0.5858 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004994/0.4452, allocations: 361.6 kB / 0.5862 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4452, allocations: 6.672 kB / 0.5862 GB, free: 19.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.4452, allocations: 2.844 kB / 0.5862 GB, free: 19.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4452, allocations: 0 / 0.5862 GB, free: 19.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009181/0.4462, allocations: 0.8112 MB / 0.587 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4462, allocations: 1.406 kB / 0.587 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/0.4465, allocations: 74.88 kB / 0.5871 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.4466, allocations: 2.375 kB / 0.5871 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.4466, allocations: 7.031 kB / 0.5871 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.4466, allocations: 1.406 kB / 0.5871 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4466, allocations: 3.062 kB / 0.5871 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006647/0.4473, allocations: 0.61 MB / 0.5877 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.4474, allocations: 133.3 kB / 0.5878 GB, free: 18.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.4474, allocations: 6.906 kB / 0.5878 GB, free: 18.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.4477, allocations: 12.14 kB / 0.5878 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.4477, allocations: 23.72 kB / 0.5878 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.4478, allocations: 5.281 kB / 0.5878 GB, free: 18.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.448, allocations: 189.5 kB / 0.588 GB, free: 18.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.448, allocations: 0 / 0.588 GB, free: 18.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004262/0.4484, allocations: 95.31 kB / 0.5881 GB, free: 18.53 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.0001473/0.4485, allocations: 111.1 kB / 0.5882 GB, free: 18.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008868/0.4494, allocations: 0.571 MB / 0.5888 GB, free: 18.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4495, allocations: 0 / 0.5888 GB, free: 18.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.4496, allocations: 150 kB / 0.5889 GB, free: 18.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.4501, allocations: 66.23 kB / 0.589 GB, free: 17.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.4515, allocations: 0.8332 MB / 0.5898 GB, free: 17.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.4517, allocations: 0.8027 MB / 0.5906 GB, free: 16.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002266/0.4519, allocations: 74.31 kB / 0.5907 GB, free: 16.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.413e-05/0.452, allocations: 27.05 kB / 0.5907 GB, free: 16.61 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.452, allocations: 0 / 0.5907 GB, free: 16.61 MB / 446.1 MB Notification: Performance of Templates: time 0.00682/0.4588, allocations: 4.114 MB / 0.5947 GB, free: 13.87 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)