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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 112.3 kB / 17.33 MB, free: 5.008 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.001243/0.001243, allocations: 198.6 kB / 18.33 MB, free: 4.016 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.358/1.358, allocations: 225.6 MB / 244.8 MB, free: 13.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8092/0.8092, allocations: 128.4 MB / 426.1 MB, free: 7.234 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 63 kB / 0.5912 GB, free: 21.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.135, allocations: 83.27 MB / 0.6725 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004854/0.1399, allocations: 3.292 MB / 0.6757 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003339/0.1432, allocations: 2.046 MB / 0.6777 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.1433, allocations: 7.938 kB / 0.6777 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009066/0.1442, allocations: 290.8 kB / 0.678 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004985/0.1447, allocations: 243 kB / 0.6782 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.1454, allocations: 285 kB / 0.6785 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004748/0.1458, allocations: 410.7 kB / 0.6789 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.1461, allocations: 164.2 kB / 0.679 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.1464, allocations: 171.4 kB / 0.6792 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003664/0.1467, allocations: 211.2 kB / 0.6794 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.234e-05/0.1468, allocations: 24 kB / 0.6794 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004195/0.1472, allocations: 271.5 kB / 0.6797 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.1473, allocations: 127.6 kB / 0.6798 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.1475, allocations: 147.2 kB / 0.6799 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005996/0.1481, allocations: 490.2 kB / 0.6804 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1481, allocations: 0 / 0.6804 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1481, allocations: 0 / 0.6804 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.1481, allocations: 4 kB / 0.6804 GB, free: 11.76 MB / 0.5137 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.00106/0.1491, allocations: 0.6076 MB / 0.681 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1492, allocations: 8.031 kB / 0.681 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009509/0.1501, allocations: 120.6 kB / 0.6811 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.1505, allocations: 281.2 kB / 0.6814 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.1505, allocations: 20.92 kB / 0.6814 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.1507, allocations: 32.73 kB / 0.6814 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007246/0.1514, allocations: 465 kB / 0.6819 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1514, allocations: 0 / 0.6819 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.055e-05/0.1514, allocations: 12 kB / 0.6819 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.1516, allocations: 36.53 kB / 0.6819 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006202/0.1522, allocations: 365.9 kB / 0.6823 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002659/0.1549, allocations: 2.222 MB / 0.6844 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004302/0.1553, allocations: 246.4 kB / 0.6847 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.1555, allocations: 148.8 kB / 0.6848 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1555, allocations: 3.984 kB / 0.6848 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.1556, allocations: 38.56 kB / 0.6849 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 1.203e-06/0.1556, allocations: 0 / 0.6849 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.001849/0.1574, allocations: 1.057 MB / 0.6859 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.1575, allocations: 55.41 kB / 0.6859 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.1578, allocations: 252.9 kB / 0.6862 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.1578, allocations: 33.7 kB / 0.6862 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.158, allocations: 188.4 kB / 0.6864 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.291e-05/0.158, allocations: 91.22 kB / 0.6865 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.1582, allocations: 81.62 kB / 0.6866 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1583, allocations: 334.8 kB / 0.6869 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.1586, allocations: 155.9 kB / 0.687 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/0.159, allocations: 241.6 kB / 0.6873 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005996/0.1596, allocations: 410.8 kB / 0.6877 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1596, allocations: 3.938 kB / 0.6877 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00119/0.1608, allocations: 0.5927 MB / 0.6882 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1608, allocations: 16.05 kB / 0.6883 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1608, allocations: 4 kB / 0.6883 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006651/0.1614, allocations: 184.6 kB / 0.6884 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.1618, allocations: 67.89 kB / 0.6885 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003003/0.1648, allocations: 2.504 MB / 0.6909 GB, free: 300 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003748/0.1652, allocations: 24 kB / 0.691 GB, free: 276 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.1652, allocations: 16 kB / 0.691 GB, free: 260 kB / 0.5137 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.0001864/0.1654, allocations: 161.8 kB / 0.6911 GB, free: 88 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.1654, allocations: 27.8 kB / 0.6912 GB, free: 60 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005749/0.166, allocations: 347.5 kB / 0.6915 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.166, allocations: 8.062 kB / 0.6915 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.166, allocations: 3.938 kB / 0.6915 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.166, allocations: 3.984 kB / 0.6915 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.1671, allocations: 0.8083 MB / 0.6923 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1671, allocations: 4 kB / 0.6923 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/0.1675, allocations: 75.88 kB / 0.6924 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1675, allocations: 4 kB / 0.6924 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.1675, allocations: 64 / 0.6924 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.1675, allocations: 12 kB / 0.6924 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1675, allocations: 0 / 0.6924 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007863/0.1683, allocations: 0.6188 MB / 0.693 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.1685, allocations: 129 kB / 0.6931 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/0.1685, allocations: 11.98 kB / 0.6931 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.1687, allocations: 19.98 kB / 0.6931 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.1688, allocations: 15.86 kB / 0.6932 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.1688, allocations: 12 kB / 0.6932 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002292/0.169, allocations: 188.5 kB / 0.6934 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.169, allocations: 0 / 0.6934 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004044/0.1694, allocations: 87.94 kB / 0.6934 GB, free: 13.62 MB / 0.5294 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.000144/0.1696, allocations: 107.2 kB / 0.6935 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009163/0.1705, allocations: 0.506 MB / 0.694 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1705, allocations: 0.625 kB / 0.694 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.1707, allocations: 144.6 kB / 0.6942 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.1711, allocations: 65.59 kB / 0.6942 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.1725, allocations: 0.836 MB / 0.695 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.173, allocations: 0.7949 MB / 0.6958 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002092/0.1732, allocations: 82.91 kB / 0.6959 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.844e-05/0.1733, allocations: 23.42 kB / 0.6959 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.1733, allocations: 3.938 kB / 0.6959 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of Templates: time 0.0082/0.1815, allocations: 4.29 MB / 0.7001 GB, free: 6.719 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (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) [Timeout 480]