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.0009819/0.000982, allocations: 102.9 kB / 16.4 MB, free: 6.414 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.0009241/0.0009241, allocations: 192 kB / 17.34 MB, free: 5.699 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.258/1.258, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6793/0.6793, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 65.33 kB / 0.5577 GB, free: 32.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1421, allocations: 76.19 MB / 0.6321 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004345/0.1465, allocations: 3.249 MB / 0.6352 GB, free: 1.121 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003001/0.1495, allocations: 2.019 MB / 0.6372 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.1496, allocations: 7.938 kB / 0.6372 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008314/0.1505, allocations: 278.8 kB / 0.6375 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004345/0.1509, allocations: 242.9 kB / 0.6377 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000573/0.1515, allocations: 287.3 kB / 0.638 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.1519, allocations: 406.8 kB / 0.6384 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/0.1522, allocations: 208.1 kB / 0.6386 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.1524, allocations: 163.4 kB / 0.6387 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.1528, allocations: 199.3 kB / 0.6389 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.1528, allocations: 24 kB / 0.639 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.1532, allocations: 263.5 kB / 0.6392 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.1533, allocations: 119.7 kB / 0.6393 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.1535, allocations: 151.3 kB / 0.6395 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005128/0.154, allocations: 490.5 kB / 0.6399 GB, free: 12.3 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.154, allocations: 0 / 0.6399 GB, free: 12.3 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.154, allocations: 4 kB / 0.6399 GB, free: 12.3 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.154, allocations: 0 / 0.6399 GB, free: 12.3 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.001027/0.1551, allocations: 0.5965 MB / 0.6405 GB, free: 11.65 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1551, allocations: 12.03 kB / 0.6405 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009139/0.156, allocations: 120.4 kB / 0.6406 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.1564, allocations: 280.4 kB / 0.6409 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.1564, allocations: 16.92 kB / 0.6409 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.1565, allocations: 28.75 kB / 0.641 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006679/0.1572, allocations: 465 kB / 0.6414 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.1572, allocations: 3.938 kB / 0.6414 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.1573, allocations: 8 kB / 0.6414 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/0.1574, allocations: 40.53 kB / 0.6414 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005786/0.158, allocations: 369.9 kB / 0.6418 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002337/0.1603, allocations: 2.218 MB / 0.644 GB, free: 7.844 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.1607, allocations: 270.4 kB / 0.6442 GB, free: 7.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.161, allocations: 164.8 kB / 0.6444 GB, free: 7.406 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.161, allocations: 0 / 0.6444 GB, free: 7.406 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.161, allocations: 38.56 kB / 0.6444 GB, free: 7.359 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 2.564e-06/0.161, allocations: 3.984 kB / 0.6444 GB, free: 7.355 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.001725/0.1628, allocations: 1.05 MB / 0.6454 GB, free: 6.238 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.1628, allocations: 59.34 kB / 0.6455 GB, free: 6.168 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.1631, allocations: 256.8 kB / 0.6457 GB, free: 5.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1631, allocations: 37.7 kB / 0.6458 GB, free: 5.867 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1632, allocations: 180 kB / 0.646 GB, free: 5.684 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.1633, allocations: 90.73 kB / 0.646 GB, free: 5.594 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.1634, allocations: 85.53 kB / 0.6461 GB, free: 5.504 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1635, allocations: 334.8 kB / 0.6464 GB, free: 5.168 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.1638, allocations: 155.9 kB / 0.6466 GB, free: 5.016 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.1641, allocations: 241.6 kB / 0.6468 GB, free: 4.746 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005189/0.1646, allocations: 406.8 kB / 0.6472 GB, free: 4.316 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1647, allocations: 8 kB / 0.6472 GB, free: 4.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001087/0.1658, allocations: 0.5965 MB / 0.6478 GB, free: 3.703 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1658, allocations: 9.562 kB / 0.6478 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1658, allocations: 3.938 kB / 0.6478 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006345/0.1664, allocations: 192.8 kB / 0.648 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.1667, allocations: 63.89 kB / 0.6481 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/0.1694, allocations: 2.491 MB / 0.6505 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/0.1698, allocations: 23.98 kB / 0.6505 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.1698, allocations: 15.98 kB / 0.6505 GB, free: 0.7695 MB / 494.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.0001773/0.17, allocations: 161.8 kB / 0.6507 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/0.17, allocations: 27.66 kB / 0.6507 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005141/0.1706, allocations: 364.7 kB / 0.6511 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1706, allocations: 4 kB / 0.6511 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.1706, allocations: 0 / 0.6511 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1706, allocations: 0 / 0.6511 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009588/0.1716, allocations: 0.8145 MB / 0.6519 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1716, allocations: 0 / 0.6519 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/0.1719, allocations: 75.88 kB / 0.6519 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.172, allocations: 64 / 0.6519 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.172, allocations: 12 kB / 0.6519 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.172, allocations: 4 kB / 0.6519 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/0.172, allocations: 4 kB / 0.6519 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006697/0.1727, allocations: 0.6168 MB / 0.6526 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.1728, allocations: 128.8 kB / 0.6527 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.1729, allocations: 12 kB / 0.6527 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.1731, allocations: 11.92 kB / 0.6527 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.1731, allocations: 23.91 kB / 0.6527 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.1732, allocations: 4 kB / 0.6527 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002033/0.1734, allocations: 188.5 kB / 0.6529 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1734, allocations: 0 / 0.6529 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003782/0.1738, allocations: 92 kB / 0.653 GB, free: 14.13 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.00015/0.1739, allocations: 111.2 kB / 0.6531 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008611/0.1748, allocations: 0.5376 MB / 0.6536 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1748, allocations: 128 / 0.6536 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.175, allocations: 151.8 kB / 0.6538 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.1754, allocations: 57.45 kB / 0.6538 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.1767, allocations: 0.8249 MB / 0.6546 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.177, allocations: 0.799 MB / 0.6554 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001971/0.1772, allocations: 70.92 kB / 0.6555 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.792e-05/0.1773, allocations: 23.44 kB / 0.6555 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1773, allocations: 0 / 0.6555 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.007229/0.1845, allocations: 4.192 MB / 0.6596 GB, free: 7.312 MB / 0.4981 GB 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)