Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource") translateModel(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.001491, allocations: 106.5 kB / 16.4 MB, free: 6.023 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.001509/0.001509, allocations: 192.5 kB / 17.34 MB, free: 5.633 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7435/0.7435, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 69.31 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1415, allocations: 76.18 MB / 0.6321 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.004632/0.1462, allocations: 3.192 MB / 0.6352 GB, free: 1.242 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.1482, allocations: 1.371 MB / 0.6365 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1484, allocations: 4 kB / 0.6365 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000973/0.1493, allocations: 346.6 kB / 0.6368 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.1497, allocations: 139.2 kB / 0.637 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.15, allocations: 150.4 kB / 0.6371 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003356/0.1504, allocations: 330.9 kB / 0.6374 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004132/0.1508, allocations: 263.6 kB / 0.6377 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.151, allocations: 143.5 kB / 0.6378 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.1513, allocations: 151.4 kB / 0.638 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.119e-05/0.1514, allocations: 20 kB / 0.638 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.1516, allocations: 163.7 kB / 0.6381 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.1517, allocations: 87.78 kB / 0.6382 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.1519, allocations: 123.4 kB / 0.6383 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005136/0.1524, allocations: 354.9 kB / 0.6387 GB, free: 13.63 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1524, allocations: 0 / 0.6387 GB, free: 13.63 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1524, allocations: 0 / 0.6387 GB, free: 13.63 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1524, allocations: 0 / 0.6387 GB, free: 13.63 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008144/0.1533, allocations: 0.5419 MB / 0.6392 GB, free: 13.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1533, allocations: 16.03 kB / 0.6392 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006213/0.1539, allocations: 80.48 kB / 0.6393 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.1543, allocations: 251.4 kB / 0.6395 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.1543, allocations: 24.78 kB / 0.6396 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.1543, allocations: 16.38 kB / 0.6396 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005169/0.1549, allocations: 316.6 kB / 0.6399 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1549, allocations: 0 / 0.6399 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.1549, allocations: 12 kB / 0.6399 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.234e-05/0.155, allocations: 16.42 kB / 0.6399 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003744/0.1554, allocations: 213.5 kB / 0.6401 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.157, allocations: 1.49 MB / 0.6416 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/0.1576, allocations: 199.7 kB / 0.6418 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.1577, allocations: 52.83 kB / 0.6418 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.1577, allocations: 0 / 0.6418 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1577, allocations: 34.5 kB / 0.6418 GB, free: 10.08 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.1577, allocations: 3.938 kB / 0.6419 GB, free: 10.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.000546/0.1583, allocations: 259.4 kB / 0.6421 GB, free: 9.793 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.1583, allocations: 59.39 kB / 0.6422 GB, free: 9.723 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1585, allocations: 203.7 kB / 0.6424 GB, free: 9.512 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1585, allocations: 25.7 kB / 0.6424 GB, free: 9.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.1587, allocations: 179.7 kB / 0.6425 GB, free: 9.301 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.1587, allocations: 31.55 kB / 0.6426 GB, free: 9.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.477e-05/0.1588, allocations: 37.7 kB / 0.6426 GB, free: 9.227 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1589, allocations: 326.8 kB / 0.6429 GB, free: 8.898 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.159, allocations: 47.91 kB / 0.643 GB, free: 8.852 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.1592, allocations: 114.2 kB / 0.6431 GB, free: 8.711 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.1594, allocations: 168.4 kB / 0.6432 GB, free: 8.516 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1594, allocations: 4 kB / 0.6432 GB, free: 8.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000371/0.1598, allocations: 210 kB / 0.6434 GB, free: 8.297 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1598, allocations: 8 kB / 0.6435 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1598, allocations: 0 / 0.6435 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001743/0.16, allocations: 41.05 kB / 0.6435 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.1602, allocations: 35.86 kB / 0.6435 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.1615, allocations: 1.433 MB / 0.6449 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.1617, allocations: 19.84 kB / 0.6449 GB, free: 6.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.1617, allocations: 4 kB / 0.6449 GB, free: 6.609 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * 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: 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.1618, allocations: 149.7 kB / 0.6451 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.1619, allocations: 15.81 kB / 0.6451 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.1619, allocations: 29.48 kB / 0.6451 GB, free: 6.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1619, allocations: 0 / 0.6451 GB, free: 6.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1619, allocations: 96 / 0.6451 GB, free: 6.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.162, allocations: 3.938 kB / 0.6451 GB, free: 6.406 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006641/0.1626, allocations: 495 kB / 0.6456 GB, free: 5.863 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1626, allocations: 0 / 0.6456 GB, free: 5.863 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.008e-05/0.1627, allocations: 11.98 kB / 0.6456 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.294e-05/0.1628, allocations: 28.84 kB / 0.6456 GB, free: 5.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.1628, allocations: 0 / 0.6456 GB, free: 5.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.1639, allocations: 1.418 MB / 0.647 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1639, allocations: 0 / 0.647 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.1642, allocations: 248 kB / 0.6473 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-05/0.1643, allocations: 100.9 kB / 0.6474 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.1643, allocations: 4.094 kB / 0.6474 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.1645, allocations: 4 kB / 0.6474 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.1645, allocations: 11.98 kB / 0.6474 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.1645, allocations: 4 kB / 0.6474 GB, free: 3.859 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.1647, allocations: 144.2 kB / 0.6475 GB, free: 3.719 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1647, allocations: 0 / 0.6475 GB, free: 3.719 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003409/0.165, allocations: 59.78 kB / 0.6476 GB, free: 3.66 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001218/0.1652, allocations: 105.5 kB / 0.6477 GB, free: 3.547 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000431/0.1656, allocations: 226.4 kB / 0.6479 GB, free: 3.312 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.1656, allocations: 4 kB / 0.6479 GB, free: 3.309 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.1658, allocations: 162.6 kB / 0.6481 GB, free: 3.137 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.1662, allocations: 36.53 kB / 0.6481 GB, free: 3.102 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007784/0.167, allocations: 387.7 kB / 0.6485 GB, free: 2.699 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.1674, allocations: 0.7554 MB / 0.6492 GB, free: 1.918 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.1675, allocations: 29.53 kB / 0.6492 GB, free: 1.891 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.1675, allocations: 19.38 kB / 0.6492 GB, free: 1.871 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1675, allocations: 0 / 0.6492 GB, free: 1.871 MB / 494.1 MB Notification: Performance of Templates: time 0.005038/0.1726, allocations: 1.949 MB / 0.6512 GB, free: 15.94 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)