Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.005045/0.005045, allocations: 105.3 kB / 15.74 MB, free: 6.441 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.00127/0.00127, allocations: 192.6 kB / 16.67 MB, free: 6.355 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002085/0.002085, allocations: 290.5 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9553/0.9553, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 103.8 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1588, allocations: 86.97 MB / 0.7664 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004389/0.1633, allocations: 3.264 MB / 0.7696 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002745/0.166, allocations: 1.85 MB / 0.7714 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.1662, allocations: 4 kB / 0.7714 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00088/0.1671, allocations: 293.7 kB / 0.7717 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004333/0.1675, allocations: 223 kB / 0.7719 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005963/0.1681, allocations: 283.3 kB / 0.7721 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004064/0.1685, allocations: 410.7 kB / 0.7725 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003516/0.1689, allocations: 200 kB / 0.7727 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.1691, allocations: 167.4 kB / 0.7729 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.1694, allocations: 195.3 kB / 0.7731 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.1695, allocations: 24 kB / 0.7731 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.1698, allocations: 231.6 kB / 0.7733 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.17, allocations: 123.6 kB / 0.7734 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.1701, allocations: 147.3 kB / 0.7736 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005251/0.1707, allocations: 474.5 kB / 0.774 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1707, allocations: 0 / 0.774 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1707, allocations: 0 / 0.774 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.1707, allocations: 4 kB / 0.774 GB, free: 0.5703 MB / 0.5606 GB 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.2989/0.4696, allocations: 0.5887 MB / 0.7746 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4696, allocations: 10.75 kB / 0.7746 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008845/0.4705, allocations: 90.92 kB / 0.7747 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.4709, allocations: 283.6 kB / 0.775 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.4709, allocations: 19.8 kB / 0.775 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.4711, allocations: 34.05 kB / 0.775 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000717/0.4718, allocations: 445 kB / 0.7755 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.4718, allocations: 5.141 kB / 0.7755 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.586e-05/0.4719, allocations: 11.61 kB / 0.7755 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001547/0.472, allocations: 40.56 kB / 0.7755 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005471/0.4726, allocations: 351.2 kB / 0.7758 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.4747, allocations: 2.201 MB / 0.778 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/0.4751, allocations: 263 kB / 0.7782 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.4754, allocations: 164.1 kB / 0.7784 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.4754, allocations: 2.062 kB / 0.7784 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.4754, allocations: 41.38 kB / 0.7784 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.4754, allocations: 1.438 kB / 0.7784 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.001707/0.4771, allocations: 1.05 MB / 0.7795 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.4772, allocations: 58.72 kB / 0.7795 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.4774, allocations: 247.5 kB / 0.7798 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.4775, allocations: 30.67 kB / 0.7798 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.971e-05/0.4775, allocations: 192.7 kB / 0.78 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.4776, allocations: 85.77 kB / 0.7801 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.4777, allocations: 81.78 kB / 0.7801 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.37e-05/0.4778, allocations: 331.3 kB / 0.7804 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.478, allocations: 155.6 kB / 0.7806 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.4783, allocations: 236.1 kB / 0.7808 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000466/0.4788, allocations: 406.5 kB / 0.7812 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4788, allocations: 1.531 kB / 0.7812 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001048/0.4798, allocations: 0.5889 MB / 0.7818 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.4799, allocations: 6.688 kB / 0.7818 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.4799, allocations: 2.688 kB / 0.7818 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006612/0.4805, allocations: 188.7 kB / 0.782 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.4808, allocations: 61.81 kB / 0.782 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00253/0.4834, allocations: 2.499 MB / 0.7845 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.4837, allocations: 21.78 kB / 0.7845 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.4837, allocations: 14.22 kB / 0.7845 GB, free: 9.094 MB / 0.5606 GB 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.0001572/0.4839, allocations: 164.7 kB / 0.7847 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/0.4839, allocations: 23.75 kB / 0.7847 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005355/0.4845, allocations: 357.9 kB / 0.785 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.4845, allocations: 7.016 kB / 0.785 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.4845, allocations: 0 / 0.785 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4845, allocations: 0.7969 kB / 0.785 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009478/0.4855, allocations: 0.8056 MB / 0.7858 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4855, allocations: 5.219 kB / 0.7858 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/0.4859, allocations: 75.53 kB / 0.7859 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.4859, allocations: 6.688 kB / 0.7859 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.4859, allocations: 6.938 kB / 0.7859 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4859, allocations: 5.812 kB / 0.7859 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4859, allocations: 0.8438 kB / 0.7859 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006017/0.4865, allocations: 0.6125 MB / 0.7865 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.62e-05/0.4866, allocations: 129.3 kB / 0.7866 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/0.4867, allocations: 9.891 kB / 0.7866 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.4869, allocations: 12.31 kB / 0.7867 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.487, allocations: 12.14 kB / 0.7867 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.487, allocations: 17 kB / 0.7867 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001343/0.4871, allocations: 179.1 kB / 0.7869 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4871, allocations: 0 / 0.7869 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000406/0.4875, allocations: 87.84 kB / 0.7869 GB, free: 7.691 MB / 0.5606 GB 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.00013/0.4877, allocations: 111.8 kB / 0.787 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007607/0.4884, allocations: 0.5276 MB / 0.7876 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4885, allocations: 0.625 kB / 0.7876 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.4886, allocations: 149.6 kB / 0.7877 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.4891, allocations: 59.2 kB / 0.7878 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.4904, allocations: 0.8296 MB / 0.7886 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.4906, allocations: 0.8002 MB / 0.7894 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002015/0.4909, allocations: 79.56 kB / 0.7894 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.552e-05/0.4909, allocations: 23.78 kB / 0.7895 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.4909, allocations: 0 / 0.7895 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of Templates: time 0.00774/0.4987, allocations: 4.069 MB / 0.7934 GB, free: 5.805 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)