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.001152/0.001152, allocations: 114.3 kB / 17.08 MB, free: 5.969 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.001015/0.001015, allocations: 200.2 kB / 18.02 MB, free: 5.047 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.233/1.233, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6743/0.6743, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 64.22 kB / 0.5583 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1334, allocations: 76.18 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00506/0.1385, allocations: 3.253 MB / 0.6359 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003322/0.1419, allocations: 2.011 MB / 0.6379 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.1421, allocations: 11.94 kB / 0.6379 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000964/0.1431, allocations: 282.8 kB / 0.6382 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006233/0.1437, allocations: 238.9 kB / 0.6384 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007726/0.1445, allocations: 295.3 kB / 0.6387 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005314/0.1451, allocations: 406.7 kB / 0.639 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003837/0.1455, allocations: 200.2 kB / 0.6392 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.1457, allocations: 163.4 kB / 0.6394 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004175/0.1462, allocations: 199.3 kB / 0.6396 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.783e-05/0.1462, allocations: 28 kB / 0.6396 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004813/0.1467, allocations: 263.5 kB / 0.6399 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.1469, allocations: 115.6 kB / 0.64 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.1471, allocations: 147.3 kB / 0.6401 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006405/0.1477, allocations: 494.5 kB / 0.6406 GB, free: 12.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1477, allocations: 0 / 0.6406 GB, free: 12.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1477, allocations: 0 / 0.6406 GB, free: 12.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.1478, allocations: 0 / 0.6406 GB, free: 12.32 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.00114/0.1489, allocations: 0.6042 MB / 0.6412 GB, free: 11.67 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.149, allocations: 12.03 kB / 0.6412 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009656/0.1499, allocations: 112.4 kB / 0.6413 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.1503, allocations: 292.3 kB / 0.6416 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.1503, allocations: 16.94 kB / 0.6416 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.1505, allocations: 32.73 kB / 0.6416 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006803/0.1511, allocations: 457 kB / 0.6421 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1512, allocations: 0 / 0.6421 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.359e-05/0.1512, allocations: 23.95 kB / 0.6421 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001434/0.1514, allocations: 40.53 kB / 0.6421 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006108/0.152, allocations: 357.9 kB / 0.6425 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002462/0.1545, allocations: 2.214 MB / 0.6446 GB, free: 7.867 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/0.1549, allocations: 274.4 kB / 0.6449 GB, free: 7.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.1551, allocations: 160.8 kB / 0.645 GB, free: 7.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.1551, allocations: 8 kB / 0.645 GB, free: 7.422 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.1552, allocations: 38.55 kB / 0.6451 GB, free: 7.375 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.1552, allocations: 0 / 0.6451 GB, free: 7.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.001705/0.1569, allocations: 1.05 MB / 0.6461 GB, free: 6.258 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.1569, allocations: 55.41 kB / 0.6462 GB, free: 6.191 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.1572, allocations: 256.8 kB / 0.6464 GB, free: 5.934 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.1573, allocations: 29.7 kB / 0.6464 GB, free: 5.898 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.1574, allocations: 188 kB / 0.6466 GB, free: 5.707 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.401e-05/0.1575, allocations: 90.73 kB / 0.6467 GB, free: 5.617 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.1576, allocations: 81.53 kB / 0.6468 GB, free: 5.531 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1577, allocations: 334.8 kB / 0.6471 GB, free: 5.195 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.158, allocations: 159.9 kB / 0.6472 GB, free: 5.039 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003177/0.1583, allocations: 245.6 kB / 0.6475 GB, free: 4.766 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/0.1589, allocations: 406.8 kB / 0.6479 GB, free: 4.336 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1589, allocations: 0 / 0.6479 GB, free: 4.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001137/0.16, allocations: 0.6002 MB / 0.6485 GB, free: 3.727 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.16, allocations: 10.03 kB / 0.6485 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1601, allocations: 0 / 0.6485 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006528/0.1607, allocations: 188.9 kB / 0.6486 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.161, allocations: 67.89 kB / 0.6487 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003011/0.1641, allocations: 2.5 MB / 0.6512 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.1645, allocations: 19.98 kB / 0.6512 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.1645, allocations: 24.05 kB / 0.6512 GB, free: 0.7812 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.0003128/0.1648, allocations: 153.8 kB / 0.6513 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/0.1649, allocations: 31.64 kB / 0.6514 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005808/0.1655, allocations: 356.7 kB / 0.6517 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1655, allocations: 0 / 0.6517 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1655, allocations: 0 / 0.6517 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1655, allocations: 11.88 kB / 0.6517 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.1667, allocations: 0.8223 MB / 0.6525 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1667, allocations: 0 / 0.6525 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003983/0.1671, allocations: 75.94 kB / 0.6526 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1671, allocations: 3.938 kB / 0.6526 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.1672, allocations: 8 kB / 0.6526 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1672, allocations: 0 / 0.6526 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1672, allocations: 4 kB / 0.6526 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007436/0.1679, allocations: 0.6091 MB / 0.6532 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.1681, allocations: 136.8 kB / 0.6533 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.1681, allocations: 4 kB / 0.6533 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.1684, allocations: 15.98 kB / 0.6534 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.1684, allocations: 23.84 kB / 0.6534 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.1685, allocations: 4 kB / 0.6534 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002279/0.1687, allocations: 192.5 kB / 0.6536 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1687, allocations: 0 / 0.6536 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000421/0.1691, allocations: 92 kB / 0.6537 GB, free: 14.14 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.0001787/0.1693, allocations: 103.2 kB / 0.6538 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009866/0.1703, allocations: 0.5414 MB / 0.6543 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1703, allocations: 0 / 0.6543 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.1705, allocations: 147.9 kB / 0.6544 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.171, allocations: 60.33 kB / 0.6545 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.1726, allocations: 0.8655 MB / 0.6553 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.173, allocations: 0.7951 MB / 0.6561 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.1731, allocations: 27.42 kB / 0.6561 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1731, allocations: 0 / 0.6561 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of Templates: time 0.007765/0.1809, allocations: 4.577 MB / 0.6606 GB, free: 6.961 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)