Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.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.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 105.1 kB / 16.4 MB, free: 6.449 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.001511/0.001511, allocations: 196 kB / 17.34 MB, free: 5.719 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.515/1.515, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7681/0.7681, allocations: 115.3 MB / 406.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 65.47 kB / 0.5576 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1752, allocations: 76.18 MB / 0.632 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004381/0.1796, allocations: 2.284 MB / 0.6343 GB, free: 2.137 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.1812, allocations: 0.7792 MB / 0.635 GB, free: 1.352 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.1814, allocations: 4 kB / 0.635 GB, free: 1.348 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007448/0.1822, allocations: 151.2 kB / 0.6352 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.1824, allocations: 67.66 kB / 0.6352 GB, free: 1.133 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.1827, allocations: 47.89 kB / 0.6353 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.183, allocations: 171.5 kB / 0.6355 GB, free: 0.918 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002764/0.1833, allocations: 100.9 kB / 0.6355 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.1834, allocations: 63.77 kB / 0.6356 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.1836, allocations: 71.67 kB / 0.6357 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.1836, allocations: 12 kB / 0.6357 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.1838, allocations: 51.89 kB / 0.6357 GB, free: 0.625 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.988e-05/0.1838, allocations: 35.91 kB / 0.6358 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.722e-05/0.1839, allocations: 67.66 kB / 0.6358 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.1842, allocations: 171.4 kB / 0.636 GB, free: 364 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.1842, allocations: 4 kB / 0.636 GB, free: 360 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1842, allocations: 0 / 0.636 GB, free: 360 kB / 478.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.1842, allocations: 4 kB / 0.636 GB, free: 356 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007651/0.185, allocations: 494.5 kB / 0.6365 GB, free: 15.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.185, allocations: 8.031 kB / 0.6365 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.1853, allocations: 32.73 kB / 0.6365 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.1855, allocations: 208.1 kB / 0.6367 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-05/0.1856, allocations: 42.39 kB / 0.6368 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.1856, allocations: 16.12 kB / 0.6368 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.1859, allocations: 150.2 kB / 0.6369 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.1859, allocations: 0 / 0.6369 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.186, allocations: 3.984 kB / 0.6369 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.186, allocations: 4 kB / 0.6369 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.1862, allocations: 91.89 kB / 0.637 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008113/0.187, allocations: 0.6363 MB / 0.6376 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.1873, allocations: 58.55 kB / 0.6377 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.993e-05/0.1873, allocations: 28.91 kB / 0.6377 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.1874, allocations: 7.938 kB / 0.6377 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.1876, allocations: 146.7 kB / 0.6379 GB, free: 14.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.1876, allocations: 0 / 0.6379 GB, free: 14.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003708/0.188, allocations: 159.3 kB / 0.638 GB, free: 14.06 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.188, allocations: 136.5 kB / 0.6381 GB, free: 13.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.1882, allocations: 178.4 kB / 0.6383 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.1882, allocations: 29.7 kB / 0.6383 GB, free: 13.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.393e-05/0.1883, allocations: 143.7 kB / 0.6385 GB, free: 13.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.1884, allocations: 23.72 kB / 0.6385 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.339e-05/0.1884, allocations: 41.62 kB / 0.6385 GB, free: 13.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1885, allocations: 334.8 kB / 0.6389 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.892e-05/0.1886, allocations: 35.92 kB / 0.6389 GB, free: 13.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.1888, allocations: 115.1 kB / 0.639 GB, free: 12.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.189, allocations: 222.4 kB / 0.6392 GB, free: 12.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.189, allocations: 4 kB / 0.6392 GB, free: 12.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003355/0.1894, allocations: 244.7 kB / 0.6395 GB, free: 12.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.615e-05/0.1894, allocations: 59.41 kB / 0.6395 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.1895, allocations: 7.938 kB / 0.6395 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1895, allocations: 7.938 kB / 0.6395 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1896, allocations: 23.98 kB / 0.6396 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/0.1896, allocations: 4.312 kB / 0.6396 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.1898, allocations: 35.73 kB / 0.6396 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.1898, allocations: 11.94 kB / 0.6396 GB, free: 12.25 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: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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.0001386/0.1899, allocations: 164.6 kB / 0.6398 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.19, allocations: 7.906 kB / 0.6398 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.358e-05/0.19, allocations: 21.33 kB / 0.6398 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.19, allocations: 4 kB / 0.6398 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.19, allocations: 0 / 0.6398 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.19, allocations: 4 kB / 0.6398 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.1902, allocations: 209.6 kB / 0.64 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1902, allocations: 0 / 0.64 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.161e-05/0.1903, allocations: 11.94 kB / 0.64 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1903, allocations: 0 / 0.64 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.1904, allocations: 11.88 kB / 0.64 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.1904, allocations: 4 kB / 0.64 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1904, allocations: 0 / 0.64 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.1908, allocations: 218.9 kB / 0.6402 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.1908, allocations: 89.03 kB / 0.6403 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.1909, allocations: 15.88 kB / 0.6403 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.436e-05/0.191, allocations: 11.98 kB / 0.6403 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/0.191, allocations: 4 kB / 0.6403 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.1911, allocations: 4 kB / 0.6403 GB, free: 11.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1912, allocations: 135.2 kB / 0.6405 GB, free: 11.24 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1912, allocations: 0 / 0.6405 GB, free: 11.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1914, allocations: 35.91 kB / 0.6405 GB, free: 11.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001213/0.1916, allocations: 107.3 kB / 0.6406 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000351/0.1919, allocations: 222.7 kB / 0.6408 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1919, allocations: 0 / 0.6408 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.1921, allocations: 107.3 kB / 0.6409 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.1923, allocations: 22.02 kB / 0.6409 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006369/0.193, allocations: 286.7 kB / 0.6412 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.1933, allocations: 0.7119 MB / 0.6419 GB, free: 9.664 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.54e-05/0.1933, allocations: 20.64 kB / 0.6419 GB, free: 9.645 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.1934, allocations: 11.44 kB / 0.6419 GB, free: 9.633 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1934, allocations: 0 / 0.6419 GB, free: 9.633 MB / 494.1 MB Notification: Performance of Templates: time 0.004341/0.1977, allocations: 1.421 MB / 0.6433 GB, free: 8.227 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)