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.001071/0.001071, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001088/0.001088, allocations: 189.6 kB / 16.25 MB, free: 6.629 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.299/1.299, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00205/0.00205, allocations: 282.8 kB / 290.3 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9559/0.9559, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 93.66 kB / 0.5947 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1469, allocations: 86.99 MB / 0.6796 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004346/0.1513, allocations: 3.283 MB / 0.6829 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.1539, allocations: 1.85 MB / 0.6847 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.1541, allocations: 7.938 kB / 0.6847 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008829/0.1549, allocations: 275.1 kB / 0.6849 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003825/0.1553, allocations: 195.2 kB / 0.6851 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005964/0.1559, allocations: 263.5 kB / 0.6854 GB, free: 11.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.1564, allocations: 410.7 kB / 0.6858 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003772/0.1567, allocations: 228.9 kB / 0.686 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.157, allocations: 159.4 kB / 0.6861 GB, free: 10.39 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.1573, allocations: 211.3 kB / 0.6863 GB, free: 10.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.257e-05/0.1573, allocations: 24 kB / 0.6864 GB, free: 10.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.1576, allocations: 231.6 kB / 0.6866 GB, free: 9.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.1578, allocations: 127.6 kB / 0.6867 GB, free: 9.805 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.1579, allocations: 143.3 kB / 0.6868 GB, free: 9.664 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004775/0.1584, allocations: 486.5 kB / 0.6873 GB, free: 9.188 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1584, allocations: 0 / 0.6873 GB, free: 9.188 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1584, allocations: 0 / 0.6873 GB, free: 9.188 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1584, allocations: 0 / 0.6873 GB, free: 9.188 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.001008/0.1594, allocations: 0.5849 MB / 0.6879 GB, free: 8.555 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1595, allocations: 8.031 kB / 0.6879 GB, free: 8.547 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007255/0.1602, allocations: 100.4 kB / 0.688 GB, free: 8.449 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.1605, allocations: 272.4 kB / 0.6882 GB, free: 8.141 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.1605, allocations: 24.92 kB / 0.6883 GB, free: 8.117 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.1607, allocations: 36.67 kB / 0.6883 GB, free: 8.082 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005996/0.1613, allocations: 453 kB / 0.6887 GB, free: 7.605 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.1613, allocations: 4 kB / 0.6887 GB, free: 7.602 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.1613, allocations: 8 kB / 0.6887 GB, free: 7.594 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001406/0.1615, allocations: 40.53 kB / 0.6888 GB, free: 7.555 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004921/0.162, allocations: 345.9 kB / 0.6891 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/0.1642, allocations: 2.203 MB / 0.6913 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000404/0.1646, allocations: 270.4 kB / 0.6915 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.1649, allocations: 160.8 kB / 0.6917 GB, free: 4.383 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.1649, allocations: 4 kB / 0.6917 GB, free: 4.379 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1649, allocations: 38.5 kB / 0.6917 GB, free: 4.332 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.1649, allocations: 0 / 0.6917 GB, free: 4.332 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.001648/0.1666, allocations: 1.054 MB / 0.6927 GB, free: 3.211 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.1666, allocations: 55.41 kB / 0.6928 GB, free: 3.145 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.1669, allocations: 252.8 kB / 0.693 GB, free: 2.891 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.1669, allocations: 29.7 kB / 0.6931 GB, free: 2.855 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.167, allocations: 192 kB / 0.6932 GB, free: 2.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.1671, allocations: 86.84 kB / 0.6933 GB, free: 2.574 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.1672, allocations: 73.59 kB / 0.6934 GB, free: 2.496 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1673, allocations: 338.8 kB / 0.6937 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.1675, allocations: 151.9 kB / 0.6939 GB, free: 2.008 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.1678, allocations: 237.6 kB / 0.6941 GB, free: 1.738 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004865/0.1683, allocations: 403.3 kB / 0.6945 GB, free: 1.312 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1683, allocations: 0 / 0.6945 GB, free: 1.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001043/0.1694, allocations: 0.5893 MB / 0.695 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1694, allocations: 4 kB / 0.695 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.1694, allocations: 4 kB / 0.6951 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006722/0.1701, allocations: 192.8 kB / 0.6952 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.1704, allocations: 67.91 kB / 0.6953 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002692/0.1731, allocations: 2.5 MB / 0.6977 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.1734, allocations: 19.97 kB / 0.6978 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.1734, allocations: 16 kB / 0.6978 GB, free: 13.77 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.0001538/0.1736, allocations: 166.3 kB / 0.6979 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.1736, allocations: 23.66 kB / 0.698 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/0.1741, allocations: 357.1 kB / 0.6983 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1742, allocations: 4 kB / 0.6983 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-06/0.1742, allocations: 4.062 kB / 0.6983 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1742, allocations: 0 / 0.6983 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009787/0.1752, allocations: 0.8143 MB / 0.6991 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1752, allocations: 0 / 0.6991 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.1756, allocations: 75.88 kB / 0.6992 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1756, allocations: 0 / 0.6992 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.1756, allocations: 11.98 kB / 0.6992 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.1756, allocations: 4 kB / 0.6992 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1756, allocations: 4.062 kB / 0.6992 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006888/0.1763, allocations: 0.61 MB / 0.6998 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.1765, allocations: 128.8 kB / 0.6999 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.512e-05/0.1765, allocations: 11.98 kB / 0.6999 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.1767, allocations: 7.984 kB / 0.6999 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.1768, allocations: 23.92 kB / 0.7 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.1768, allocations: 4 kB / 0.7 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000161/0.177, allocations: 180.5 kB / 0.7001 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.453e-06/0.177, allocations: 0 / 0.7001 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003859/0.1774, allocations: 91.92 kB / 0.7002 GB, free: 11.16 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.0001476/0.1775, allocations: 111.2 kB / 0.7003 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008657/0.1784, allocations: 0.5646 MB / 0.7009 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1784, allocations: 0 / 0.7009 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.1786, allocations: 147.9 kB / 0.701 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.1791, allocations: 72.67 kB / 0.7011 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.1805, allocations: 0.9381 MB / 0.702 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1808, allocations: 0.795 MB / 0.7028 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002022/0.181, allocations: 70.91 kB / 0.7028 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.707e-05/0.1811, allocations: 27.42 kB / 0.7029 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1811, allocations: 0 / 0.7029 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of Templates: time 0.007033/0.1881, allocations: 3.985 MB / 0.7068 GB, free: 4.406 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)