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.0009549/0.0009549, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005764/0.005764, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.292/1.292, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00178/0.00178, allocations: 278.5 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9262/0.9262, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004416, allocations: 13.78 kB / 0.5987 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1488, allocations: 88.55 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003744/0.1526, allocations: 2.926 MB / 0.688 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002905/0.1555, allocations: 1.847 MB / 0.6898 GB, free: 10.28 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.1556, allocations: 4 kB / 0.6898 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.1558, allocations: 39.64 kB / 0.6898 GB, free: 10.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.1563, allocations: 199.2 kB / 0.69 GB, free: 10.04 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005925/0.1569, allocations: 265 kB / 0.6903 GB, free: 9.785 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005378/0.1574, allocations: 0.5688 MB / 0.6908 GB, free: 9.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008055/0.1582, allocations: 457.2 kB / 0.6913 GB, free: 8.746 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.1584, allocations: 127.5 kB / 0.6914 GB, free: 8.621 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003358/0.1588, allocations: 199.9 kB / 0.6916 GB, free: 8.426 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.1588, allocations: 16 kB / 0.6916 GB, free: 8.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004028/0.1592, allocations: 268.4 kB / 0.6919 GB, free: 8.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.1594, allocations: 107.7 kB / 0.692 GB, free: 8.043 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.1595, allocations: 161.6 kB / 0.6921 GB, free: 7.879 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005022/0.16, allocations: 466.5 kB / 0.6926 GB, free: 7.422 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.16, allocations: 1.312 kB / 0.6926 GB, free: 7.422 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.1601, allocations: 0 / 0.6926 GB, free: 7.422 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1601, allocations: 3.938 kB / 0.6926 GB, free: 7.418 MB / 494.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.000914/0.161, allocations: 0.535 MB / 0.6931 GB, free: 6.836 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.161, allocations: 12.03 kB / 0.6931 GB, free: 6.824 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007346/0.1618, allocations: 96.45 kB / 0.6932 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.1621, allocations: 268.5 kB / 0.6934 GB, free: 6.426 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.1621, allocations: 24.91 kB / 0.6935 GB, free: 6.402 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.1623, allocations: 36.41 kB / 0.6935 GB, free: 6.367 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006338/0.1629, allocations: 449 kB / 0.6939 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.1629, allocations: 4 kB / 0.6939 GB, free: 5.891 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.163, allocations: 8 kB / 0.6939 GB, free: 5.883 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001538/0.1631, allocations: 40.53 kB / 0.694 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005413/0.1637, allocations: 353.9 kB / 0.6943 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.1661, allocations: 2.203 MB / 0.6965 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.1666, allocations: 266.4 kB / 0.6967 GB, free: 2.828 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.1668, allocations: 165.5 kB / 0.6969 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1668, allocations: 0 / 0.6969 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.1669, allocations: 46.5 kB / 0.6969 GB, free: 2.609 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.222e-06/0.1669, allocations: 0 / 0.6969 GB, free: 2.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.001772/0.1686, allocations: 1.045 MB / 0.6979 GB, free: 1.496 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.1687, allocations: 59.41 kB / 0.698 GB, free: 1.426 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.1689, allocations: 252.8 kB / 0.6982 GB, free: 1.176 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.169, allocations: 33.7 kB / 0.6983 GB, free: 1.137 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.1691, allocations: 184 kB / 0.6985 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.452e-05/0.1692, allocations: 82.84 kB / 0.6985 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.952e-05/0.1692, allocations: 37.7 kB / 0.6986 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1694, allocations: 330.8 kB / 0.6989 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.1696, allocations: 151.9 kB / 0.699 GB, free: 352 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.1699, allocations: 245.5 kB / 0.6993 GB, free: 68 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/0.1704, allocations: 403.4 kB / 0.6996 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1705, allocations: 7.938 kB / 0.6997 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001074/0.1715, allocations: 0.5815 MB / 0.7002 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1716, allocations: 11.98 kB / 0.7002 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.1716, allocations: 4.312 kB / 0.7002 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006719/0.1723, allocations: 188.7 kB / 0.7004 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.1726, allocations: 59.89 kB / 0.7005 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/0.1753, allocations: 2.304 MB / 0.7027 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.1756, allocations: 19.98 kB / 0.7027 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.1756, allocations: 16 kB / 0.7028 GB, free: 12.3 MB / 0.4981 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.0001792/0.1758, allocations: 167.1 kB / 0.7029 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.601e-05/0.1759, allocations: 27.66 kB / 0.7029 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005571/0.1764, allocations: 357.5 kB / 0.7033 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1765, allocations: 0 / 0.7033 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1765, allocations: 8 kB / 0.7033 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1765, allocations: 3.984 kB / 0.7033 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.1775, allocations: 0.8122 MB / 0.7041 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1775, allocations: 0 / 0.7041 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003991/0.1779, allocations: 75.88 kB / 0.7042 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.178, allocations: 0 / 0.7042 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.178, allocations: 11.98 kB / 0.7042 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.178, allocations: 0 / 0.7042 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.178, allocations: 4 kB / 0.7042 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007341/0.1787, allocations: 0.6119 MB / 0.7048 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.1789, allocations: 132.8 kB / 0.7049 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.1789, allocations: 8 kB / 0.7049 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.1791, allocations: 11.92 kB / 0.7049 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.1792, allocations: 15.98 kB / 0.7049 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.1792, allocations: 4 kB / 0.7049 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001713/0.1794, allocations: 184.5 kB / 0.7051 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1794, allocations: 0 / 0.7051 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003994/0.1798, allocations: 91.94 kB / 0.7052 GB, free: 9.688 MB / 0.4981 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.0001545/0.18, allocations: 107.2 kB / 0.7053 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008401/0.1808, allocations: 0.5244 MB / 0.7058 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.1808, allocations: 4.188 kB / 0.7058 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.181, allocations: 151.8 kB / 0.706 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.1815, allocations: 53.2 kB / 0.706 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.183, allocations: 1.024 MB / 0.707 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.1834, allocations: 0.7951 MB / 0.7078 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002067/0.1836, allocations: 74.91 kB / 0.7079 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.1837, allocations: 23.44 kB / 0.7079 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1837, allocations: 0 / 0.7079 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of Templates: time 0.007232/0.1909, allocations: 3.764 MB / 0.7116 GB, free: 3.121 MB / 0.4981 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)