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.001138/0.001138, allocations: 107.2 kB / 16.41 MB, free: 6.473 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.001225/0.001225, allocations: 191.9 kB / 17.34 MB, free: 5.754 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.215/1.215, 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.6934/0.6934, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 64.8 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.135, allocations: 76.18 MB / 0.6321 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003616/0.1387, allocations: 2.587 MB / 0.6346 GB, free: 1.828 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.1408, allocations: 1.492 MB / 0.6361 GB, free: 336 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.119e-05/0.1409, allocations: 4 kB / 0.6361 GB, free: 332 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006999/0.1416, allocations: 223.1 kB / 0.6363 GB, free: 108 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.142, allocations: 187.2 kB / 0.6365 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.1423, allocations: 155.6 kB / 0.6366 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.1426, allocations: 239.1 kB / 0.6368 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002957/0.1429, allocations: 183 kB / 0.637 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.143, allocations: 95.67 kB / 0.6371 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.1432, allocations: 107.6 kB / 0.6372 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.1433, allocations: 12 kB / 0.6372 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.1436, allocations: 227.5 kB / 0.6374 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.443e-05/0.1437, allocations: 75.8 kB / 0.6375 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.703e-05/0.1438, allocations: 87.53 kB / 0.6376 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.1441, allocations: 323 kB / 0.6379 GB, free: 14.44 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.1441, allocations: 4 kB / 0.6379 GB, free: 14.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1442, allocations: 4 kB / 0.6379 GB, free: 14.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1442, allocations: 4 kB / 0.6379 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.0006422/0.1448, allocations: 487.1 kB / 0.6384 GB, free: 13.9 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.1449, allocations: 12.03 kB / 0.6384 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005677/0.1454, allocations: 80.66 kB / 0.6385 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.1457, allocations: 232 kB / 0.6387 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1457, allocations: 12.7 kB / 0.6387 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.1457, allocations: 24.36 kB / 0.6387 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/0.1462, allocations: 324.1 kB / 0.639 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1462, allocations: 0 / 0.639 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.1462, allocations: 12 kB / 0.639 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.77e-05/0.1463, allocations: 16.27 kB / 0.639 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003445/0.1466, allocations: 252.6 kB / 0.6393 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.1481, allocations: 1.63 MB / 0.6409 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006051/0.1487, allocations: 415.2 kB / 0.6413 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.1488, allocations: 89.66 kB / 0.6414 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.149, allocations: 85.09 kB / 0.6414 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.149, allocations: 34.56 kB / 0.6415 GB, free: 10.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.149, allocations: 0 / 0.6415 GB, free: 10.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006026/0.1496, allocations: 316.6 kB / 0.6418 GB, free: 10.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.1496, allocations: 85.05 kB / 0.6419 GB, free: 9.988 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1498, allocations: 169 kB / 0.642 GB, free: 9.816 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.1498, allocations: 29.7 kB / 0.642 GB, free: 9.781 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1499, allocations: 151.7 kB / 0.6422 GB, free: 9.629 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.15, allocations: 47.36 kB / 0.6422 GB, free: 9.582 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.614e-05/0.15, allocations: 41.7 kB / 0.6423 GB, free: 9.535 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1501, allocations: 323.2 kB / 0.6426 GB, free: 9.211 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1503, allocations: 92.8 kB / 0.6427 GB, free: 9.117 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.1504, allocations: 152.8 kB / 0.6428 GB, free: 8.938 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.1507, allocations: 247.5 kB / 0.6431 GB, free: 8.664 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1507, allocations: 4 kB / 0.6431 GB, free: 8.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003597/0.1511, allocations: 273.1 kB / 0.6433 GB, free: 8.387 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1511, allocations: 8 kB / 0.6433 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1511, allocations: 320 / 0.6433 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1511, allocations: 11.94 kB / 0.6433 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.1514, allocations: 47.97 kB / 0.6434 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1514, allocations: 11.92 kB / 0.6434 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.1515, allocations: 19.92 kB / 0.6434 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.1516, allocations: 8 kB / 0.6434 GB, free: 8.281 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000154/0.1517, allocations: 176.1 kB / 0.6436 GB, free: 8.105 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001461/0.1519, allocations: 150.2 kB / 0.6437 GB, free: 7.922 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002423/0.1521, allocations: 236.5 kB / 0.644 GB, free: 7.656 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.313e-06/0.1521, allocations: 0 / 0.644 GB, free: 7.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003268/0.1525, allocations: 253.2 kB / 0.6442 GB, free: 7.402 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.1525, allocations: 4 kB / 0.6442 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1525, allocations: 7.984 kB / 0.6442 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.167e-06/0.1525, allocations: 4 kB / 0.6442 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.1527, allocations: 59.83 kB / 0.6443 GB, free: 7.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1527, allocations: 4 kB / 0.6443 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.1528, allocations: 8.344 kB / 0.6443 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.1528, allocations: 19.98 kB / 0.6443 GB, free: 7.297 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.0001026/0.1529, allocations: 188.2 kB / 0.6445 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.565e-05/0.153, allocations: 15.81 kB / 0.6445 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003413/0.1534, allocations: 211.7 kB / 0.6447 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1534, allocations: 4 kB / 0.6447 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1534, allocations: 0 / 0.6447 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1534, allocations: 4 kB / 0.6447 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.1545, allocations: 0.9612 MB / 0.6456 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1545, allocations: 7.938 kB / 0.6457 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.1547, allocations: 35.91 kB / 0.6457 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1547, allocations: 4 kB / 0.6457 GB, free: 5.738 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1547, allocations: 4 kB / 0.6457 GB, free: 5.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1547, allocations: 4.438 kB / 0.6457 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.1547, allocations: 16.03 kB / 0.6457 GB, free: 5.715 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.1551, allocations: 432.8 kB / 0.6461 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.187e-05/0.1552, allocations: 108.8 kB / 0.6462 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.1552, allocations: 15.98 kB / 0.6462 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.1554, allocations: 15.98 kB / 0.6463 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.1554, allocations: 19.92 kB / 0.6463 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.1555, allocations: 4 kB / 0.6463 GB, free: 5.059 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1556, allocations: 139.7 kB / 0.6464 GB, free: 4.922 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.492e-06/0.1556, allocations: 0 / 0.6464 GB, free: 4.922 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000465/0.156, allocations: 71.94 kB / 0.6465 GB, free: 4.852 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.0001422/0.1562, allocations: 115.2 kB / 0.6466 GB, free: 4.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004179/0.1566, allocations: 311.4 kB / 0.6469 GB, free: 4.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1566, allocations: 0 / 0.6469 GB, free: 4.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.1567, allocations: 80.08 kB / 0.647 GB, free: 4.352 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.1572, allocations: 45.95 kB / 0.647 GB, free: 4.309 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006948/0.1579, allocations: 469.5 kB / 0.6475 GB, free: 3.785 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.1582, allocations: 0.7441 MB / 0.6482 GB, free: 3.012 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001876/0.1584, allocations: 77.47 kB / 0.6483 GB, free: 2.934 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.1585, allocations: 23.42 kB / 0.6483 GB, free: 2.91 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1585, allocations: 0 / 0.6483 GB, free: 2.91 MB / 494.1 MB Notification: Performance of Templates: time 0.004097/0.1626, allocations: 1.846 MB / 0.6501 GB, free: 1.074 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)