Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001403, allocations: 116.2 kB / 17.09 MB, free: 6.012 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.001493/0.001493, allocations: 192.7 kB / 18.02 MB, free: 5.094 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.316/1.316, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7317/0.7317, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 64.2 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.147, allocations: 76.18 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.00375/0.1508, allocations: 2.415 MB / 0.6351 GB, free: 1.984 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002455/0.1533, allocations: 1.574 MB / 0.6366 GB, free: 408 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.1534, allocations: 4 kB / 0.6366 GB, free: 404 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006533/0.1541, allocations: 171.3 kB / 0.6368 GB, free: 232 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003784/0.1545, allocations: 155.3 kB / 0.6369 GB, free: 76 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.155, allocations: 187.6 kB / 0.6371 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.1553, allocations: 215.3 kB / 0.6373 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.1555, allocations: 124.8 kB / 0.6374 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.1557, allocations: 87.62 kB / 0.6375 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.156, allocations: 107.6 kB / 0.6376 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.156, allocations: 12 kB / 0.6376 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003481/0.1563, allocations: 207.7 kB / 0.6378 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.885e-05/0.1564, allocations: 67.8 kB / 0.6379 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.183e-05/0.1565, allocations: 79.53 kB / 0.638 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.1569, allocations: 303.2 kB / 0.6383 GB, free: 14.71 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1569, allocations: 8 kB / 0.6383 GB, free: 14.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1569, allocations: 0 / 0.6383 GB, free: 14.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.157, allocations: 0 / 0.6383 GB, free: 14.7 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007414/0.1577, allocations: 475 kB / 0.6387 GB, free: 14.19 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1578, allocations: 12.03 kB / 0.6387 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007727/0.1585, allocations: 88.64 kB / 0.6388 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.1588, allocations: 238.3 kB / 0.6391 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1589, allocations: 12.64 kB / 0.6391 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.1589, allocations: 20.31 kB / 0.6391 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.1594, allocations: 291.5 kB / 0.6394 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1594, allocations: 0 / 0.6394 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.1594, allocations: 8 kB / 0.6394 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.1595, allocations: 20.22 kB / 0.6394 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00043/0.1599, allocations: 224.4 kB / 0.6396 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.1619, allocations: 1.591 MB / 0.6412 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.1623, allocations: 315.2 kB / 0.6415 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1624, allocations: 69.67 kB / 0.6415 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.1624, allocations: 8.141 kB / 0.6415 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.1625, allocations: 34.56 kB / 0.6416 GB, free: 11.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.833e-06/0.1625, allocations: 0 / 0.6416 GB, free: 11.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005788/0.1631, allocations: 240.6 kB / 0.6418 GB, free: 10.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.1631, allocations: 77.11 kB / 0.6419 GB, free: 10.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.1634, allocations: 219.5 kB / 0.6421 GB, free: 10.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.1634, allocations: 29.7 kB / 0.6421 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.1635, allocations: 155.5 kB / 0.6423 GB, free: 10.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.1636, allocations: 43.44 kB / 0.6423 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.272e-05/0.1637, allocations: 45.7 kB / 0.6423 GB, free: 10.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1638, allocations: 326.8 kB / 0.6427 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.164, allocations: 84.8 kB / 0.6427 GB, free: 9.746 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.1642, allocations: 154.6 kB / 0.6429 GB, free: 9.559 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.1645, allocations: 238.9 kB / 0.6431 GB, free: 9.285 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1645, allocations: 0 / 0.6431 GB, free: 9.285 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004921/0.165, allocations: 273.1 kB / 0.6434 GB, free: 9.012 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1651, allocations: 11.94 kB / 0.6434 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1651, allocations: 0 / 0.6434 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.1651, allocations: 7.938 kB / 0.6434 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.1654, allocations: 55.89 kB / 0.6434 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/0.1654, allocations: 8.312 kB / 0.6434 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.1656, allocations: 23.98 kB / 0.6435 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.1657, allocations: 15.98 kB / 0.6435 GB, free: 8.891 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002073/0.1659, allocations: 164.1 kB / 0.6436 GB, free: 8.727 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001921/0.1661, allocations: 155.9 kB / 0.6438 GB, free: 8.531 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000289/0.1664, allocations: 223.8 kB / 0.644 GB, free: 8.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.1664, allocations: 0 / 0.644 GB, free: 8.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004504/0.1668, allocations: 261.2 kB / 0.6443 GB, free: 8.008 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.1669, allocations: 8 kB / 0.6443 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1669, allocations: 4 kB / 0.6443 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.561e-06/0.1669, allocations: 4 kB / 0.6443 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.1671, allocations: 47.91 kB / 0.6443 GB, free: 7.945 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.1671, allocations: 7.938 kB / 0.6443 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.1673, allocations: 19.98 kB / 0.6443 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.1674, allocations: 12.14 kB / 0.6444 GB, free: 7.906 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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 prepare postOptimizeDAE: time 0.0001191/0.1675, allocations: 200.1 kB / 0.6445 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.1675, allocations: 15.81 kB / 0.6446 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.1678, allocations: 143 kB / 0.6447 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.1678, allocations: 7.922 kB / 0.6447 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1678, allocations: 8.125 kB / 0.6447 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1679, allocations: 0 / 0.6447 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000939/0.1688, allocations: 0.7235 MB / 0.6454 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1688, allocations: 0 / 0.6454 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.1689, allocations: 28.27 kB / 0.6454 GB, free: 6.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.1689, allocations: 8 kB / 0.6455 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.169, allocations: 4 kB / 0.6455 GB, free: 6.672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.169, allocations: 0.5469 kB / 0.6455 GB, free: 6.672 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.169, allocations: 4 kB / 0.6455 GB, free: 6.668 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.1693, allocations: 382.2 kB / 0.6458 GB, free: 6.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.111e-05/0.1694, allocations: 108.8 kB / 0.6459 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.1694, allocations: 8 kB / 0.6459 GB, free: 6.117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.1696, allocations: 11.98 kB / 0.6459 GB, free: 6.105 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.1697, allocations: 19.86 kB / 0.646 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.1697, allocations: 4 kB / 0.646 GB, free: 6.082 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.1699, allocations: 164.8 kB / 0.6461 GB, free: 5.922 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1699, allocations: 0 / 0.6461 GB, free: 5.922 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005123/0.1704, allocations: 76 kB / 0.6462 GB, free: 5.848 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * 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.0001523/0.1706, allocations: 103.2 kB / 0.6463 GB, free: 5.738 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005267/0.1711, allocations: 280.7 kB / 0.6466 GB, free: 5.465 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1711, allocations: 0 / 0.6466 GB, free: 5.465 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.819e-05/0.1712, allocations: 59.84 kB / 0.6466 GB, free: 5.406 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.1717, allocations: 32.67 kB / 0.6467 GB, free: 5.379 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000746/0.1724, allocations: 449.3 kB / 0.6471 GB, free: 4.883 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.1728, allocations: 0.7402 MB / 0.6478 GB, free: 4.113 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.1729, allocations: 23.42 kB / 0.6478 GB, free: 4.09 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1729, allocations: 3.938 kB / 0.6478 GB, free: 4.086 MB / 494.1 MB Notification: Performance of Templates: time 0.004153/0.177, allocations: 2.33 MB / 0.6501 GB, free: 1.754 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)