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.001261/0.001261, allocations: 119.3 kB / 17.09 MB, free: 5.977 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.001327/0.001327, allocations: 196.6 kB / 18.02 MB, free: 5.055 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.264/1.264, allocations: 222.9 MB / 241.7 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.6861/0.6861, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.53 kB / 0.5583 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.14, 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.004062/0.1441, allocations: 2.591 MB / 0.6353 GB, free: 1.812 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.1466, allocations: 1.484 MB / 0.6367 GB, free: 328 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.1468, allocations: 4 kB / 0.6367 GB, free: 324 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008278/0.1476, allocations: 235 kB / 0.6369 GB, free: 88 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000553/0.1482, allocations: 179.2 kB / 0.6371 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.1486, allocations: 166 kB / 0.6373 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003507/0.149, allocations: 227.2 kB / 0.6375 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003148/0.1493, allocations: 178.4 kB / 0.6377 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.1495, allocations: 95.69 kB / 0.6377 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.1498, allocations: 123.5 kB / 0.6379 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.1499, allocations: 16 kB / 0.6379 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003709/0.1502, allocations: 227.5 kB / 0.6381 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.545e-05/0.1503, allocations: 67.81 kB / 0.6382 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.1504, allocations: 95.52 kB / 0.6383 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004849/0.1509, allocations: 319.1 kB / 0.6386 GB, free: 14.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.151, allocations: 0 / 0.6386 GB, free: 14.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.151, allocations: 0 / 0.6386 GB, free: 14.42 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.151, allocations: 0 / 0.6386 GB, free: 14.42 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.0008227/0.1518, allocations: 495.1 kB / 0.639 GB, free: 13.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1519, allocations: 8.031 kB / 0.639 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005955/0.1525, allocations: 80.64 kB / 0.6391 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.1527, allocations: 236 kB / 0.6393 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1528, allocations: 8.703 kB / 0.6393 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.1528, allocations: 20.38 kB / 0.6394 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004652/0.1533, allocations: 332.1 kB / 0.6397 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1533, allocations: 3.938 kB / 0.6397 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.1534, allocations: 8 kB / 0.6397 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.915e-05/0.1534, allocations: 20.27 kB / 0.6397 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003959/0.1538, allocations: 252.6 kB / 0.64 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.1553, allocations: 1.626 MB / 0.6415 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.156, allocations: 411.2 kB / 0.6419 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.1561, allocations: 89.83 kB / 0.642 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.1563, allocations: 93.09 kB / 0.6421 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.1563, allocations: 30.56 kB / 0.6421 GB, free: 10.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.1563, allocations: 0 / 0.6421 GB, free: 10.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006228/0.157, allocations: 316.4 kB / 0.6424 GB, free: 10.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.157, allocations: 81.11 kB / 0.6425 GB, free: 9.977 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.1572, allocations: 165 kB / 0.6427 GB, free: 9.809 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1572, allocations: 33.89 kB / 0.6427 GB, free: 9.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.095e-05/0.1573, allocations: 159.7 kB / 0.6429 GB, free: 9.609 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.1574, allocations: 43.36 kB / 0.6429 GB, free: 9.566 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.312e-05/0.1574, allocations: 49.7 kB / 0.6429 GB, free: 9.512 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1576, allocations: 322.8 kB / 0.6433 GB, free: 9.188 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1577, allocations: 80.81 kB / 0.6433 GB, free: 9.105 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.1579, allocations: 156.9 kB / 0.6435 GB, free: 8.922 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.1582, allocations: 249.2 kB / 0.6437 GB, free: 8.645 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1582, allocations: 192 / 0.6437 GB, free: 8.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004079/0.1586, allocations: 275.8 kB / 0.644 GB, free: 8.371 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1586, allocations: 7.938 kB / 0.644 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1586, allocations: 4 kB / 0.644 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.1587, allocations: 7.938 kB / 0.644 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.1589, allocations: 51.95 kB / 0.644 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.159, allocations: 7.938 kB / 0.6441 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.1591, allocations: 20.23 kB / 0.6441 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.1591, allocations: 19.98 kB / 0.6441 GB, free: 8.254 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000189/0.1593, allocations: 172.1 kB / 0.6443 GB, free: 8.082 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001394/0.1595, allocations: 142.2 kB / 0.6444 GB, free: 7.906 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002925/0.1598, allocations: 238.1 kB / 0.6446 GB, free: 7.637 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.1598, allocations: 0 / 0.6446 GB, free: 7.637 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003488/0.1601, allocations: 249.5 kB / 0.6449 GB, free: 7.387 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.1602, allocations: 12.03 kB / 0.6449 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-06/0.1602, allocations: 0 / 0.6449 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.962e-06/0.1602, allocations: 4 kB / 0.6449 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.1604, allocations: 59.84 kB / 0.6449 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1604, allocations: 7.938 kB / 0.6449 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.1605, allocations: 7.984 kB / 0.6449 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.1605, 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.0001067/0.1606, allocations: 188.2 kB / 0.6451 GB, free: 7.094 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.1607, allocations: 15.81 kB / 0.6452 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.161, allocations: 215.6 kB / 0.6454 GB, free: 6.852 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1611, allocations: 0 / 0.6454 GB, free: 6.852 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.1611, allocations: 4 kB / 0.6454 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1611, allocations: 4 kB / 0.6454 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.1623, allocations: 0.9577 MB / 0.6463 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.1623, allocations: 4 kB / 0.6463 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.1624, allocations: 39.91 kB / 0.6463 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.1624, allocations: 4 kB / 0.6463 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.1625, allocations: 8 kB / 0.6464 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.1625, allocations: 7.984 kB / 0.6464 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/0.1625, allocations: 11.88 kB / 0.6464 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.1629, allocations: 443.3 kB / 0.6468 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.733e-05/0.163, allocations: 108.8 kB / 0.6469 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.163, allocations: 8 kB / 0.6469 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.1632, allocations: 11.98 kB / 0.6469 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.1632, allocations: 23.92 kB / 0.6469 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.1633, allocations: 8 kB / 0.647 GB, free: 5.039 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.1634, allocations: 135.7 kB / 0.6471 GB, free: 4.906 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1634, allocations: 0 / 0.6471 GB, free: 4.906 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005098/0.1639, allocations: 72 kB / 0.6471 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.0001452/0.164, allocations: 107.2 kB / 0.6473 GB, free: 4.723 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004793/0.1645, allocations: 319.4 kB / 0.6476 GB, free: 4.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1645, allocations: 0 / 0.6476 GB, free: 4.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.1647, allocations: 77.33 kB / 0.6476 GB, free: 4.336 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.1652, allocations: 35.05 kB / 0.6477 GB, free: 4.305 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008203/0.166, allocations: 0.5062 MB / 0.6482 GB, free: 3.727 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.1663, allocations: 0.7402 MB / 0.6489 GB, free: 2.957 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.536e-05/0.1664, allocations: 23.42 kB / 0.6489 GB, free: 2.934 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1664, allocations: 4 kB / 0.6489 GB, free: 2.93 MB / 494.1 MB Notification: Performance of Templates: time 0.004242/0.1707, allocations: 2.364 MB / 0.6512 GB, free: 0.5664 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)