Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 110 kB / 16.41 MB, free: 6.488 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.002184/0.002184, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.353/1.353, 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.7749/0.7749, allocations: 115.3 MB / 406.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 69.88 kB / 0.5577 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1545, allocations: 76.18 MB / 0.6321 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003837/0.1583, allocations: 2.596 MB / 0.6346 GB, free: 1.82 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.1606, allocations: 1.484 MB / 0.6361 GB, free: 336 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1607, allocations: 8 kB / 0.6361 GB, free: 328 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008335/0.1616, allocations: 223 kB / 0.6363 GB, free: 104 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000559/0.1622, allocations: 191.2 kB / 0.6365 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.1626, allocations: 155.6 kB / 0.6366 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00028/0.1629, allocations: 231.2 kB / 0.6368 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/0.1632, allocations: 174.4 kB / 0.637 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.1634, allocations: 95.67 kB / 0.6371 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.1636, allocations: 111.6 kB / 0.6372 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.1636, allocations: 19.94 kB / 0.6372 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003449/0.164, allocations: 227.6 kB / 0.6374 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.964e-05/0.1641, allocations: 67.8 kB / 0.6375 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.115e-05/0.1642, allocations: 95.59 kB / 0.6376 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.1646, allocations: 323 kB / 0.6379 GB, free: 14.44 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1646, allocations: 0 / 0.6379 GB, free: 14.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1646, allocations: 0 / 0.6379 GB, free: 14.44 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1646, allocations: 0 / 0.6379 GB, free: 14.44 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.000657/0.1653, allocations: 487.1 kB / 0.6384 GB, free: 13.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1653, allocations: 11.97 kB / 0.6384 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00059/0.1659, allocations: 80.64 kB / 0.6384 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.1662, allocations: 242.7 kB / 0.6387 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1662, allocations: 8.703 kB / 0.6387 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/0.1663, allocations: 24.3 kB / 0.6387 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.1667, allocations: 324.1 kB / 0.639 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1667, allocations: 0 / 0.639 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.1668, allocations: 15.97 kB / 0.639 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-05/0.1668, allocations: 24.27 kB / 0.6391 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003685/0.1672, allocations: 252.6 kB / 0.6393 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.1689, allocations: 1.618 MB / 0.6409 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00074/0.1696, allocations: 415.2 kB / 0.6413 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.1698, allocations: 81.89 kB / 0.6413 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.1699, allocations: 97.2 kB / 0.6414 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.17, allocations: 42.5 kB / 0.6415 GB, free: 10.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.17, allocations: 3.938 kB / 0.6415 GB, free: 10.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006791/0.1707, allocations: 304.5 kB / 0.6418 GB, free: 10.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.1707, allocations: 81.11 kB / 0.6419 GB, free: 9.992 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.1709, allocations: 169 kB / 0.642 GB, free: 9.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1709, allocations: 25.7 kB / 0.642 GB, free: 9.789 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/0.171, allocations: 151.7 kB / 0.6422 GB, free: 9.637 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.171, allocations: 51.34 kB / 0.6422 GB, free: 9.586 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/0.1711, allocations: 49.89 kB / 0.6423 GB, free: 9.531 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1712, allocations: 322.8 kB / 0.6426 GB, free: 9.207 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.1714, allocations: 84.75 kB / 0.6427 GB, free: 9.121 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.1715, allocations: 156.8 kB / 0.6428 GB, free: 8.938 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.1718, allocations: 249.2 kB / 0.6431 GB, free: 8.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1719, allocations: 0 / 0.6431 GB, free: 8.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004202/0.1723, allocations: 277.4 kB / 0.6433 GB, free: 8.383 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1723, allocations: 4 kB / 0.6433 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1723, allocations: 4 kB / 0.6433 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1723, allocations: 7.938 kB / 0.6433 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.1726, allocations: 51.89 kB / 0.6434 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1726, allocations: 4 kB / 0.6434 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.1728, allocations: 19.92 kB / 0.6434 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.1728, allocations: 8 kB / 0.6434 GB, free: 8.285 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001801/0.173, allocations: 180.1 kB / 0.6436 GB, free: 8.105 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001473/0.1731, allocations: 150.3 kB / 0.6437 GB, free: 7.922 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002693/0.1734, allocations: 237.3 kB / 0.644 GB, free: 7.656 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.1734, allocations: 4 kB / 0.644 GB, free: 7.652 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003598/0.1738, allocations: 249.2 kB / 0.6442 GB, free: 7.402 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.1738, allocations: 8 kB / 0.6442 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/0.1738, allocations: 0 / 0.6442 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.53e-06/0.1738, allocations: 4 kB / 0.6442 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.174, allocations: 56.19 kB / 0.6443 GB, free: 7.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.174, allocations: 8 kB / 0.6443 GB, free: 7.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.1741, allocations: 15.92 kB / 0.6443 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.1742, allocations: 8 kB / 0.6443 GB, free: 7.305 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: 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.0001048/0.1743, allocations: 192.2 kB / 0.6445 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.1744, allocations: 15.81 kB / 0.6445 GB, free: 7.094 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.1747, allocations: 212.1 kB / 0.6447 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1747, allocations: 0 / 0.6447 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1747, allocations: 0 / 0.6447 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1748, allocations: 7.984 kB / 0.6447 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.176, allocations: 0.9534 MB / 0.6456 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.176, allocations: 4 kB / 0.6456 GB, free: 5.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.1762, allocations: 35.91 kB / 0.6457 GB, free: 5.758 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1762, allocations: 8.375 kB / 0.6457 GB, free: 5.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.1762, allocations: 16 kB / 0.6457 GB, free: 5.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.1762, allocations: 4 kB / 0.6457 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.1762, allocations: 11.88 kB / 0.6457 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.1767, allocations: 444.8 kB / 0.6461 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.015e-05/0.1768, allocations: 116.8 kB / 0.6462 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.1768, allocations: 4 kB / 0.6462 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.177, allocations: 15.98 kB / 0.6463 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.1771, allocations: 19.86 kB / 0.6463 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.1771, allocations: 12 kB / 0.6463 GB, free: 5.047 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1772, allocations: 135.7 kB / 0.6464 GB, free: 4.914 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1772, allocations: 4 kB / 0.6464 GB, free: 4.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005327/0.1777, allocations: 72 kB / 0.6465 GB, free: 4.84 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (14): * Single equations (assignments): 14 * 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.0001371/0.1779, allocations: 99.25 kB / 0.6466 GB, free: 4.734 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004545/0.1783, allocations: 315.6 kB / 0.6469 GB, free: 4.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1783, allocations: 0 / 0.6469 GB, free: 4.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.1785, allocations: 83.81 kB / 0.647 GB, free: 4.348 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.179, allocations: 41.67 kB / 0.647 GB, free: 4.312 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008146/0.1798, allocations: 481.7 kB / 0.6475 GB, free: 3.777 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.1802, allocations: 0.748 MB / 0.6482 GB, free: 3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001922/0.1804, allocations: 73.47 kB / 0.6483 GB, free: 2.926 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.381e-05/0.1804, allocations: 15.44 kB / 0.6483 GB, free: 2.91 MB / 494.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1804, allocations: 4 kB / 0.6483 GB, free: 2.906 MB / 494.1 MB Notification: Performance of Templates: time 0.004564/0.185, allocations: 1.836 MB / 0.6501 GB, free: 1.078 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)