Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 106 kB / 16.41 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.001222/0.001222, allocations: 193.2 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.761/0.761, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 64.84 kB / 0.5577 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1451, allocations: 76.18 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004543/0.1497, allocations: 3.05 MB / 0.635 GB, free: 1.344 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002869/0.1526, allocations: 1.909 MB / 0.6369 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.1528, allocations: 4 kB / 0.6369 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009687/0.1537, allocations: 289.2 kB / 0.6372 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004866/0.1542, allocations: 199.1 kB / 0.6374 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006679/0.1549, allocations: 243.3 kB / 0.6376 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003539/0.1553, allocations: 322.9 kB / 0.6379 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.1557, allocations: 185 kB / 0.6381 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.1558, allocations: 135.5 kB / 0.6382 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002868/0.1561, allocations: 147.5 kB / 0.6384 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.1562, allocations: 20 kB / 0.6384 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005949/0.1568, allocations: 411.2 kB / 0.6388 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1569, allocations: 83.8 kB / 0.6388 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.157, allocations: 123.4 kB / 0.639 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005989/0.1576, allocations: 486.7 kB / 0.6394 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1577, allocations: 0 / 0.6394 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1577, allocations: 0 / 0.6394 GB, free: 12.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1577, allocations: 0 / 0.6394 GB, free: 12.82 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008353/0.1585, allocations: 0.5575 MB / 0.64 GB, free: 12.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1586, allocations: 8.031 kB / 0.64 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008381/0.1594, allocations: 112.5 kB / 0.6401 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.1598, allocations: 269.8 kB / 0.6403 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.1598, allocations: 16.8 kB / 0.6404 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.1598, allocations: 24.36 kB / 0.6404 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.1604, allocations: 357.4 kB / 0.6407 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1604, allocations: 0 / 0.6407 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.1604, allocations: 8 kB / 0.6407 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-05/0.1605, allocations: 24.42 kB / 0.6408 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004432/0.1609, allocations: 293.5 kB / 0.641 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.163, allocations: 1.729 MB / 0.6427 GB, free: 9.168 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000492/0.1635, allocations: 330 kB / 0.643 GB, free: 8.809 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.1636, allocations: 101.7 kB / 0.6431 GB, free: 8.703 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.1637, allocations: 97.02 kB / 0.6432 GB, free: 8.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.1638, allocations: 38.56 kB / 0.6433 GB, free: 8.543 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.452e-06/0.1638, allocations: 0 / 0.6433 GB, free: 8.543 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.002551/0.1663, allocations: 0.9626 MB / 0.6442 GB, free: 7.547 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.1664, allocations: 81.14 kB / 0.6443 GB, free: 7.449 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.1666, allocations: 223.7 kB / 0.6445 GB, free: 7.215 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.1667, allocations: 33.7 kB / 0.6445 GB, free: 7.176 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.541e-05/0.1668, allocations: 164.1 kB / 0.6447 GB, free: 7.012 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.004e-05/0.1668, allocations: 82.89 kB / 0.6448 GB, free: 6.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.772e-05/0.1669, allocations: 65.61 kB / 0.6448 GB, free: 6.859 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1671, allocations: 334.8 kB / 0.6451 GB, free: 6.523 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.1673, allocations: 131.9 kB / 0.6453 GB, free: 6.395 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.1675, allocations: 206.5 kB / 0.6455 GB, free: 6.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.168, allocations: 372.7 kB / 0.6458 GB, free: 5.766 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.168, allocations: 0 / 0.6458 GB, free: 5.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008388/0.1688, allocations: 0.5045 MB / 0.6463 GB, free: 5.242 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1689, allocations: 12 kB / 0.6463 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1689, allocations: 0 / 0.6463 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005304/0.1694, allocations: 151.3 kB / 0.6465 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.1697, allocations: 59.91 kB / 0.6465 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/0.1725, allocations: 4.194 MB / 0.6506 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.1728, allocations: 19.92 kB / 0.6506 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.1728, allocations: 24.14 kB / 0.6507 GB, free: 452 kB / 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001643/0.173, allocations: 165.6 kB / 0.6508 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.256e-05/0.1731, allocations: 19.81 kB / 0.6508 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008481/0.1739, allocations: 473.9 kB / 0.6513 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1739, allocations: 0 / 0.6513 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1739, allocations: 4 kB / 0.6513 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1739, allocations: 3.984 kB / 0.6513 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.1755, allocations: 1.007 MB / 0.6523 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1755, allocations: 0 / 0.6523 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.1756, allocations: 40.16 kB / 0.6523 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003919/0.176, allocations: 139.3 kB / 0.6525 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.1761, allocations: 8 kB / 0.6525 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002706/0.1788, allocations: 4.158 MB / 0.6565 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1788, allocations: 0 / 0.6565 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007734/0.1796, allocations: 0.6237 MB / 0.6571 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.1797, allocations: 124.8 kB / 0.6573 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.1798, allocations: 19.83 kB / 0.6573 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.18, allocations: 15.98 kB / 0.6573 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.1801, allocations: 27.91 kB / 0.6573 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.1801, allocations: 8 kB / 0.6573 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001457/0.1802, allocations: 156.2 kB / 0.6575 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1802, allocations: 0 / 0.6575 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00052/0.1808, allocations: 95.98 kB / 0.6576 GB, free: 8.844 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002033/0.181, allocations: 133.4 kB / 0.6577 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000916/0.1819, allocations: 0.5815 MB / 0.6583 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1819, allocations: 3.938 kB / 0.6583 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005067/0.1824, allocations: 398.1 kB / 0.6586 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005388/0.183, allocations: 47.97 kB / 0.6587 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.184, allocations: 0.6311 MB / 0.6593 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.1844, allocations: 0.7792 MB / 0.6601 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001556/0.1846, allocations: 58.23 kB / 0.6601 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.858e-05/0.1846, allocations: 23.44 kB / 0.6601 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1846, allocations: 0 / 0.6601 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of Templates: time 0.00782/0.1924, allocations: 4.203 MB / 0.6642 GB, free: 1.887 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)