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.001584/0.001584, allocations: 116.3 kB / 17.08 MB, free: 5.832 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.001892/0.001892, allocations: 192.7 kB / 18.02 MB, free: 4.965 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.366/1.366, 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.7594/0.7594, allocations: 115.3 MB / 407.2 MB, free: 6.23 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.44 kB / 0.5583 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1548, allocations: 76.19 MB / 0.6327 GB, free: 4.449 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004622/0.1595, allocations: 3.249 MB / 0.6359 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003213/0.1627, allocations: 2.011 MB / 0.6379 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.1629, allocations: 7.938 kB / 0.6379 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008941/0.1638, allocations: 294.8 kB / 0.6382 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005265/0.1644, allocations: 234.9 kB / 0.6384 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006895/0.1651, allocations: 293.8 kB / 0.6387 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000438/0.1655, allocations: 410.7 kB / 0.6391 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000361/0.1659, allocations: 200.2 kB / 0.6392 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.1661, allocations: 171.3 kB / 0.6394 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003824/0.1665, allocations: 199.3 kB / 0.6396 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.477e-05/0.1666, allocations: 24 kB / 0.6396 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004404/0.167, allocations: 263.5 kB / 0.6399 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.1672, allocations: 119.7 kB / 0.64 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.1673, allocations: 139.3 kB / 0.6401 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005477/0.1679, allocations: 498.5 kB / 0.6406 GB, free: 12.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1679, allocations: 3.938 kB / 0.6406 GB, free: 12.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1679, allocations: 4 kB / 0.6406 GB, free: 12.35 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.1679, allocations: 0 / 0.6406 GB, free: 12.35 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.001038/0.1689, allocations: 0.5926 MB / 0.6412 GB, free: 11.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.169, allocations: 8.031 kB / 0.6412 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000976/0.17, allocations: 116.4 kB / 0.6413 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.1704, allocations: 284.4 kB / 0.6416 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.1704, allocations: 20.94 kB / 0.6416 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.1705, allocations: 36.72 kB / 0.6416 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007074/0.1712, allocations: 457 kB / 0.6421 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.1713, allocations: 0 / 0.6421 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.645e-05/0.1713, allocations: 11.98 kB / 0.6421 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/0.1715, allocations: 40.53 kB / 0.6421 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005937/0.1721, allocations: 365.9 kB / 0.6425 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002481/0.1745, allocations: 2.214 MB / 0.6446 GB, free: 7.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/0.175, allocations: 274.4 kB / 0.6449 GB, free: 7.633 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.1752, allocations: 160.8 kB / 0.645 GB, free: 7.473 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.1752, allocations: 4 kB / 0.645 GB, free: 7.469 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1753, allocations: 30.56 kB / 0.6451 GB, free: 7.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.1753, allocations: 0 / 0.6451 GB, free: 7.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.001739/0.177, allocations: 1.059 MB / 0.6461 GB, free: 6.305 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.1771, allocations: 55.41 kB / 0.6462 GB, free: 6.238 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.1774, allocations: 256.8 kB / 0.6464 GB, free: 5.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.1774, allocations: 33.7 kB / 0.6464 GB, free: 5.941 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1775, allocations: 188 kB / 0.6466 GB, free: 5.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.1776, allocations: 86.75 kB / 0.6467 GB, free: 5.664 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.1777, allocations: 77.55 kB / 0.6468 GB, free: 5.582 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1779, allocations: 334.8 kB / 0.6471 GB, free: 5.246 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.1781, allocations: 159.9 kB / 0.6472 GB, free: 5.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.1785, allocations: 253.5 kB / 0.6475 GB, free: 4.809 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005386/0.179, allocations: 402.8 kB / 0.6479 GB, free: 4.383 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.179, allocations: 8 kB / 0.6479 GB, free: 4.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001164/0.1802, allocations: 0.6043 MB / 0.6485 GB, free: 3.762 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1802, allocations: 4 kB / 0.6485 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.1802, allocations: 4 kB / 0.6485 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006576/0.1809, allocations: 196.6 kB / 0.6487 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.1813, allocations: 59.89 kB / 0.6487 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002863/0.1841, allocations: 2.489 MB / 0.6511 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.1845, allocations: 23.97 kB / 0.6512 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.1846, allocations: 12 kB / 0.6512 GB, free: 0.8359 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.0001924/0.1848, allocations: 165.8 kB / 0.6513 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.338e-05/0.1848, allocations: 27.66 kB / 0.6514 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005567/0.1854, allocations: 365.5 kB / 0.6517 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1854, allocations: 4 kB / 0.6517 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.1854, allocations: 0 / 0.6517 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1854, allocations: 0 / 0.6517 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.1865, allocations: 0.8136 MB / 0.6525 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1865, allocations: 0 / 0.6525 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.1869, allocations: 75.88 kB / 0.6526 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.1869, allocations: 4 kB / 0.6526 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.187, allocations: 16.05 kB / 0.6526 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.187, allocations: 0 / 0.6526 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.187, allocations: 0 / 0.6526 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007665/0.1877, allocations: 0.6065 MB / 0.6532 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.1879, allocations: 124.8 kB / 0.6533 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.1879, allocations: 15.88 kB / 0.6533 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.1882, allocations: 19.98 kB / 0.6534 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.1882, allocations: 23.92 kB / 0.6534 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.1882, allocations: 4 kB / 0.6534 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002441/0.1885, allocations: 188.5 kB / 0.6536 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1885, allocations: 0 / 0.6536 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004337/0.1889, allocations: 88 kB / 0.6536 GB, free: 14.2 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.0001948/0.1891, allocations: 111.2 kB / 0.6537 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009988/0.1902, allocations: 0.5413 MB / 0.6543 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1902, allocations: 0.625 kB / 0.6543 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.1904, allocations: 151.9 kB / 0.6544 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.1909, allocations: 66.38 kB / 0.6545 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.1924, allocations: 0.8671 MB / 0.6553 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.1928, allocations: 0.799 MB / 0.6561 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.1929, allocations: 31.42 kB / 0.6561 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1929, allocations: 0 / 0.6561 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of Templates: time 0.007523/0.2004, allocations: 4.568 MB / 0.6606 GB, free: 7 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)