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.001286/0.001285, allocations: 97.2 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 175.7 kB / 16.57 MB, free: 6.398 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.413/1.413, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7551/0.7551, allocations: 113.8 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006212/0.0006216, allocations: 12.64 kB / 493.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1642, allocations: 77.15 MB / 0.5568 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.003612/0.1679, allocations: 2.693 MB / 0.5595 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.1698, allocations: 1.255 MB / 0.5607 GB, free: 7.613 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.1699, allocations: 7.938 kB / 0.5607 GB, free: 7.605 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.1701, allocations: 43.75 kB / 0.5607 GB, free: 7.562 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.1704, allocations: 103.7 kB / 0.5608 GB, free: 7.461 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.1707, allocations: 111.7 kB / 0.5609 GB, free: 7.352 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.171, allocations: 187.6 kB / 0.5611 GB, free: 7.168 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.1713, allocations: 215.3 kB / 0.5613 GB, free: 6.941 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.1714, allocations: 99.67 kB / 0.5614 GB, free: 6.844 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.1717, allocations: 99.59 kB / 0.5615 GB, free: 6.746 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.1717, allocations: 12 kB / 0.5615 GB, free: 6.734 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.1719, allocations: 83.83 kB / 0.5616 GB, free: 6.652 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.363e-05/0.172, allocations: 67.8 kB / 0.5617 GB, free: 6.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.002e-05/0.172, allocations: 65.58 kB / 0.5617 GB, free: 6.516 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.1723, allocations: 259.6 kB / 0.562 GB, free: 6.262 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1723, allocations: 4 kB / 0.562 GB, free: 6.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1723, allocations: 0 / 0.562 GB, free: 6.258 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1723, allocations: 0 / 0.562 GB, free: 6.258 MB / 430.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.0007711/0.1731, allocations: 0.4989 MB / 0.5625 GB, free: 5.711 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1732, allocations: 16.02 kB / 0.5625 GB, free: 5.695 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005871/0.1737, allocations: 87.62 kB / 0.5626 GB, free: 5.609 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.1741, allocations: 249.8 kB / 0.5628 GB, free: 5.328 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.1741, allocations: 12.44 kB / 0.5628 GB, free: 5.316 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.1741, allocations: 23.98 kB / 0.5629 GB, free: 5.293 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.1746, allocations: 316.2 kB / 0.5632 GB, free: 4.961 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1746, allocations: 4 kB / 0.5632 GB, free: 4.957 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.1747, allocations: 7.984 kB / 0.5632 GB, free: 4.949 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/0.1747, allocations: 24.38 kB / 0.5632 GB, free: 4.926 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003529/0.1751, allocations: 209.6 kB / 0.5634 GB, free: 4.715 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.1766, allocations: 1.505 MB / 0.5649 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.177, allocations: 211.6 kB / 0.5651 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.1771, allocations: 3.953 kB / 0.5651 GB, free: 2.805 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.1771, allocations: 30.56 kB / 0.5651 GB, free: 2.766 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.1771, allocations: 0 / 0.5651 GB, free: 2.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.000549/0.1776, allocations: 271.3 kB / 0.5654 GB, free: 2.473 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.1777, allocations: 51.41 kB / 0.5654 GB, free: 2.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.1779, allocations: 212.3 kB / 0.5656 GB, free: 2.191 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1779, allocations: 25.7 kB / 0.5656 GB, free: 2.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.178, allocations: 171.9 kB / 0.5658 GB, free: 1.988 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.178, allocations: 35.55 kB / 0.5658 GB, free: 1.953 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/0.1781, allocations: 4 kB / 0.5658 GB, free: 1.949 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1782, allocations: 330.8 kB / 0.5661 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.639e-05/0.1783, allocations: 43.97 kB / 0.5662 GB, free: 1.574 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.1785, allocations: 110.4 kB / 0.5663 GB, free: 1.438 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.1786, allocations: 67.91 kB / 0.5664 GB, free: 1.371 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1786, allocations: 0 / 0.5664 GB, free: 1.371 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000352/0.179, allocations: 214 kB / 0.5666 GB, free: 1.152 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.179, allocations: 8 kB / 0.5666 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.179, allocations: 0 / 0.5666 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000151/0.1792, allocations: 29.12 kB / 0.5666 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1793, allocations: 35.92 kB / 0.5666 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000994/0.1803, allocations: 1.335 MB / 0.5679 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.1804, allocations: 27.69 kB / 0.568 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.1805, allocations: 8.062 kB / 0.568 GB, free: 15.57 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.1806, allocations: 153.8 kB / 0.5681 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.1807, allocations: 11.91 kB / 0.5681 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.1807, allocations: 17.5 kB / 0.5681 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1807, allocations: 8.062 kB / 0.5681 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1807, allocations: 7.984 kB / 0.5682 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1807, allocations: 7.938 kB / 0.5682 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005859/0.1813, allocations: 491.2 kB / 0.5686 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1813, allocations: 0 / 0.5686 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.436e-05/0.1814, allocations: 11.98 kB / 0.5686 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-05/0.1815, allocations: 32.8 kB / 0.5687 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.1815, allocations: 0 / 0.5687 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008272/0.1823, allocations: 1.327 MB / 0.57 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1823, allocations: 0 / 0.57 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.1826, allocations: 240.1 kB / 0.5702 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.659e-05/0.1827, allocations: 100.8 kB / 0.5703 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.1828, allocations: 8.188 kB / 0.5703 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.1829, allocations: 11.98 kB / 0.5703 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.1829, allocations: 0 / 0.5703 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.1829, allocations: 7.984 kB / 0.5703 GB, free: 12.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.1831, allocations: 145.5 kB / 0.5705 GB, free: 12.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1831, allocations: 0 / 0.5705 GB, free: 12.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003181/0.1834, allocations: 59.75 kB / 0.5705 GB, free: 12.72 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.921e-05/0.1835, allocations: 103.9 kB / 0.5706 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003914/0.1839, allocations: 231.1 kB / 0.5708 GB, free: 12.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1839, allocations: 0 / 0.5708 GB, free: 12.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.1841, allocations: 171.2 kB / 0.571 GB, free: 12.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.1844, allocations: 30.8 kB / 0.571 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006207/0.185, allocations: 491.5 kB / 0.5715 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.1853, allocations: 0.7557 MB / 0.5722 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.9e-05/0.1854, allocations: 33.53 kB / 0.5723 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.1855, allocations: 15.42 kB / 0.5723 GB, free: 10.82 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1855, allocations: 192 / 0.5723 GB, free: 10.82 MB / 446.1 MB Notification: Performance of Templates: time 0.004112/0.1896, allocations: 1.764 MB / 0.574 GB, free: 9.082 MB / 446.1 MB 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)