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.001049/0.001049, allocations: 101.4 kB / 16.4 MB, free: 6.508 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.001233/0.001233, allocations: 196 kB / 17.34 MB, free: 5.742 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7149/0.7149, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 65.08 kB / 0.5577 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1269, allocations: 76.18 MB / 0.6321 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.0046/0.1316, allocations: 3.257 MB / 0.6353 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003081/0.1347, allocations: 2.011 MB / 0.6372 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.1349, allocations: 7.938 kB / 0.6372 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000958/0.1358, allocations: 286.8 kB / 0.6375 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004806/0.1363, allocations: 242.9 kB / 0.6377 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007101/0.137, allocations: 285.7 kB / 0.638 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.1375, allocations: 414.7 kB / 0.6384 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003267/0.1378, allocations: 204.2 kB / 0.6386 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.138, allocations: 171.4 kB / 0.6388 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003288/0.1384, allocations: 191.3 kB / 0.6389 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.428e-05/0.1384, allocations: 24 kB / 0.639 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003788/0.1388, allocations: 263.5 kB / 0.6392 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.1389, allocations: 123.7 kB / 0.6393 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.1391, allocations: 151.3 kB / 0.6395 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005078/0.1396, allocations: 490.5 kB / 0.6399 GB, free: 12.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1396, allocations: 0 / 0.6399 GB, free: 12.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1397, allocations: 0 / 0.6399 GB, free: 12.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1397, allocations: 4 kB / 0.6399 GB, free: 12.33 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.001047/0.1407, allocations: 0.5965 MB / 0.6405 GB, free: 11.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1408, allocations: 8.031 kB / 0.6405 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000975/0.1417, allocations: 120.4 kB / 0.6406 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.1421, allocations: 280.4 kB / 0.6409 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.1421, allocations: 16.92 kB / 0.6409 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.1423, allocations: 28.75 kB / 0.641 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007144/0.143, allocations: 465 kB / 0.6414 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.143, allocations: 4 kB / 0.6414 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/0.1431, allocations: 8 kB / 0.6414 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001448/0.1432, allocations: 48.47 kB / 0.6415 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006314/0.1439, allocations: 358 kB / 0.6418 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002734/0.1466, allocations: 2.226 MB / 0.644 GB, free: 7.875 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.1471, allocations: 262.4 kB / 0.6442 GB, free: 7.609 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.1473, allocations: 164.8 kB / 0.6444 GB, free: 7.445 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1473, allocations: 0 / 0.6444 GB, free: 7.445 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.1473, allocations: 38.56 kB / 0.6444 GB, free: 7.398 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.202e-06/0.1474, allocations: 4 kB / 0.6444 GB, free: 7.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.00171/0.1491, allocations: 1.046 MB / 0.6454 GB, free: 6.281 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.1491, allocations: 51.41 kB / 0.6455 GB, free: 6.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.1494, allocations: 260.8 kB / 0.6457 GB, free: 5.957 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.1495, allocations: 33.7 kB / 0.6458 GB, free: 5.918 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.1496, allocations: 184 kB / 0.646 GB, free: 5.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.612e-05/0.1497, allocations: 90.73 kB / 0.646 GB, free: 5.641 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.1498, allocations: 85.47 kB / 0.6461 GB, free: 5.551 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002659/0.1501, allocations: 330.8 kB / 0.6464 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/0.1503, allocations: 167.8 kB / 0.6466 GB, free: 5.055 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.1507, allocations: 237.6 kB / 0.6468 GB, free: 4.789 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006286/0.1513, allocations: 414.8 kB / 0.6472 GB, free: 4.352 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1513, allocations: 4 kB / 0.6472 GB, free: 4.348 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001131/0.1525, allocations: 0.6002 MB / 0.6478 GB, free: 3.738 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1525, allocations: 8 kB / 0.6478 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1525, allocations: 4 kB / 0.6478 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007019/0.1532, allocations: 188.8 kB / 0.648 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.1536, allocations: 67.89 kB / 0.6481 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003182/0.1568, allocations: 2.493 MB / 0.6505 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.1572, allocations: 20.02 kB / 0.6505 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.1572, allocations: 19.98 kB / 0.6505 GB, free: 0.8008 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.0001843/0.1574, allocations: 165.8 kB / 0.6507 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.1575, allocations: 27.66 kB / 0.6507 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005265/0.158, allocations: 356.6 kB / 0.6511 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.1581, allocations: 4 kB / 0.6511 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1581, allocations: 0 / 0.6511 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1581, allocations: 0 / 0.6511 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.1591, allocations: 0.8127 MB / 0.6519 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.1591, allocations: 4 kB / 0.6519 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/0.1595, allocations: 75.94 kB / 0.6519 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.1596, allocations: 4 kB / 0.6519 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.1596, allocations: 4 kB / 0.6519 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1596, allocations: 7.938 kB / 0.6519 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1596, allocations: 0 / 0.6519 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007718/0.1604, allocations: 0.6188 MB / 0.6526 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.1605, allocations: 128.8 kB / 0.6527 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.1606, allocations: 8 kB / 0.6527 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.1608, allocations: 15.98 kB / 0.6527 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.1609, allocations: 20 kB / 0.6527 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.1609, allocations: 11.98 kB / 0.6527 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002264/0.1611, allocations: 188.5 kB / 0.6529 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1612, allocations: 0 / 0.6529 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004227/0.1616, allocations: 92 kB / 0.653 GB, free: 14.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.0001636/0.1618, allocations: 111.2 kB / 0.6531 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009813/0.1627, allocations: 0.5376 MB / 0.6536 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1628, allocations: 0 / 0.6536 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.163, allocations: 151.8 kB / 0.6538 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.1634, allocations: 58.33 kB / 0.6538 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.1649, allocations: 0.8289 MB / 0.6546 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.1652, allocations: 0.799 MB / 0.6554 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002239/0.1654, allocations: 74.91 kB / 0.6555 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.125e-05/0.1655, allocations: 27.44 kB / 0.6555 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.1655, allocations: 4 kB / 0.6555 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.00756/0.1731, allocations: 4.175 MB / 0.6596 GB, free: 7.344 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)