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.001588/0.001588, allocations: 117 kB / 17.09 MB, free: 5.969 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.00176/0.00176, allocations: 196.6 kB / 18.02 MB, free: 5.047 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.457/1.457, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7302/0.7302, allocations: 115.3 MB / 407.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.5 kB / 0.5583 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1421, allocations: 76.18 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004038/0.1462, allocations: 2.599 MB / 0.6353 GB, free: 1.805 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.1486, allocations: 1.48 MB / 0.6367 GB, free: 324 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.1487, allocations: 7.938 kB / 0.6367 GB, free: 316 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007907/0.1495, allocations: 227.1 kB / 0.6369 GB, free: 88 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004536/0.15, allocations: 187.1 kB / 0.6371 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.1503, allocations: 151.7 kB / 0.6373 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.1506, allocations: 235.2 kB / 0.6375 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003218/0.1509, allocations: 174.4 kB / 0.6377 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.1511, allocations: 99.67 kB / 0.6378 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.1514, allocations: 115.6 kB / 0.6379 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.1514, allocations: 16 kB / 0.6379 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003456/0.1518, allocations: 219.6 kB / 0.6381 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.101e-05/0.1519, allocations: 71.81 kB / 0.6382 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.446e-05/0.152, allocations: 83.59 kB / 0.6382 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004418/0.1524, allocations: 327 kB / 0.6385 GB, free: 14.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.1524, allocations: 8 kB / 0.6386 GB, free: 14.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1524, allocations: 0 / 0.6386 GB, free: 14.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1524, allocations: 0 / 0.6386 GB, free: 14.43 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.0007381/0.1532, allocations: 491.1 kB / 0.639 GB, free: 13.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1532, allocations: 11.97 kB / 0.639 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005884/0.1538, allocations: 76.66 kB / 0.6391 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.1541, allocations: 235.9 kB / 0.6393 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1541, allocations: 16.7 kB / 0.6393 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.206e-05/0.1542, allocations: 20.36 kB / 0.6394 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004694/0.1546, allocations: 320.1 kB / 0.6397 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1547, allocations: 8 kB / 0.6397 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.1547, allocations: 11.98 kB / 0.6397 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/0.1547, allocations: 16.27 kB / 0.6397 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.1551, allocations: 252.6 kB / 0.6399 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.1567, allocations: 1.622 MB / 0.6415 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006461/0.1573, allocations: 415.2 kB / 0.6419 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.1575, allocations: 89.88 kB / 0.642 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.1576, allocations: 93.02 kB / 0.6421 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1576, allocations: 38.5 kB / 0.6421 GB, free: 10.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.1577, allocations: 0 / 0.6421 GB, free: 10.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006264/0.1583, allocations: 308.5 kB / 0.6424 GB, free: 10.08 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.1584, allocations: 81.11 kB / 0.6425 GB, free: 9.984 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.1585, allocations: 169 kB / 0.6427 GB, free: 9.812 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.1585, allocations: 29.7 kB / 0.6427 GB, free: 9.777 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.388e-05/0.1586, allocations: 151.7 kB / 0.6428 GB, free: 9.625 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.1587, allocations: 43.55 kB / 0.6429 GB, free: 9.582 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.24e-05/0.1588, allocations: 49.69 kB / 0.6429 GB, free: 9.527 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1589, allocations: 331 kB / 0.6433 GB, free: 9.195 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.159, allocations: 84.75 kB / 0.6433 GB, free: 9.109 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.1592, allocations: 156.8 kB / 0.6435 GB, free: 8.926 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.1595, allocations: 248.4 kB / 0.6437 GB, free: 8.652 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1595, allocations: 8 kB / 0.6437 GB, free: 8.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000388/0.1599, allocations: 265.2 kB / 0.644 GB, free: 8.379 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1599, allocations: 8.312 kB / 0.644 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1599, allocations: 8 kB / 0.644 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1599, allocations: 3.938 kB / 0.644 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.1602, allocations: 59.89 kB / 0.6441 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.1602, allocations: 4 kB / 0.6441 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.1604, allocations: 15.92 kB / 0.6441 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.1604, allocations: 12 kB / 0.6441 GB, free: 8.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001775/0.1606, allocations: 176.1 kB / 0.6443 GB, free: 8.094 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001555/0.1607, allocations: 154.1 kB / 0.6444 GB, free: 7.906 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002588/0.161, allocations: 226.1 kB / 0.6446 GB, free: 7.648 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.126e-06/0.161, allocations: 4 kB / 0.6446 GB, free: 7.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003412/0.1613, allocations: 249.2 kB / 0.6449 GB, free: 7.395 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.218e-06/0.1614, allocations: 7.984 kB / 0.6449 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1614, allocations: 4 kB / 0.6449 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.109e-06/0.1614, allocations: 4 kB / 0.6449 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.1616, allocations: 51.84 kB / 0.6449 GB, free: 7.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.1616, allocations: 4.344 kB / 0.6449 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.1617, allocations: 27.86 kB / 0.645 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.1617, allocations: 12 kB / 0.645 GB, free: 7.285 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.0001143/0.1619, allocations: 184.3 kB / 0.6451 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.1619, allocations: 15.81 kB / 0.6452 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.1623, allocations: 207.7 kB / 0.6454 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1623, allocations: 0 / 0.6454 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1623, allocations: 4 kB / 0.6454 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1623, allocations: 3.984 kB / 0.6454 GB, free: 6.855 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.1635, allocations: 0.9574 MB / 0.6463 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.1636, allocations: 4 kB / 0.6463 GB, free: 5.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.1637, allocations: 39.91 kB / 0.6463 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1637, allocations: 4 kB / 0.6463 GB, free: 5.738 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.1637, allocations: 4.438 kB / 0.6463 GB, free: 5.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.1637, allocations: 8 kB / 0.6464 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.1638, allocations: 15.88 kB / 0.6464 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.1641, allocations: 439.4 kB / 0.6468 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.1643, allocations: 116.8 kB / 0.6469 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.1643, allocations: 12 kB / 0.6469 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.1645, allocations: 11.98 kB / 0.6469 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.1645, allocations: 27.8 kB / 0.6469 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.1645, allocations: 4 kB / 0.647 GB, free: 5.043 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.1647, allocations: 139.7 kB / 0.6471 GB, free: 4.906 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1647, allocations: 0 / 0.6471 GB, free: 4.906 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005004/0.1652, allocations: 72 kB / 0.6472 GB, free: 4.836 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.0001335/0.1653, allocations: 111.2 kB / 0.6473 GB, free: 4.719 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004623/0.1658, allocations: 304.4 kB / 0.6476 GB, free: 4.422 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1658, allocations: 448 / 0.6476 GB, free: 4.422 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.1659, allocations: 83.81 kB / 0.6476 GB, free: 4.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.1664, allocations: 33.17 kB / 0.6477 GB, free: 4.309 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008234/0.1673, allocations: 0.4992 MB / 0.6481 GB, free: 3.738 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.1676, allocations: 0.7441 MB / 0.6489 GB, free: 2.965 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.083e-05/0.1677, allocations: 27.42 kB / 0.6489 GB, free: 2.938 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1677, allocations: 0 / 0.6489 GB, free: 2.938 MB / 494.1 MB Notification: Performance of Templates: time 0.004169/0.1719, allocations: 2.37 MB / 0.6512 GB, free: 0.5742 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)