Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 117.6 kB / 17.08 MB, free: 5.957 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.001227/0.001227, allocations: 197.9 kB / 18.02 MB, free: 5.043 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.286/1.286, 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.692/0.692, allocations: 115.3 MB / 407.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 67.73 kB / 0.5583 GB, free: 32.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1263, allocations: 76.17 MB / 0.6327 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004112/0.1304, allocations: 3.067 MB / 0.6357 GB, free: 1.355 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.1328, allocations: 1.722 MB / 0.6374 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1329, allocations: 4 kB / 0.6374 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000912/0.1338, allocations: 337.3 kB / 0.6377 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.1343, allocations: 219 kB / 0.6379 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.1346, allocations: 179.5 kB / 0.6381 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003039/0.135, allocations: 323 kB / 0.6384 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003354/0.1353, allocations: 232.7 kB / 0.6386 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.1355, allocations: 135.6 kB / 0.6388 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.1358, allocations: 163.4 kB / 0.6389 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.1358, allocations: 24 kB / 0.6389 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003255/0.1361, allocations: 247.5 kB / 0.6392 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.682e-05/0.1363, allocations: 95.78 kB / 0.6393 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.1364, allocations: 123.4 kB / 0.6394 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.1368, allocations: 422.7 kB / 0.6398 GB, free: 13.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1368, allocations: 0 / 0.6398 GB, free: 13.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1368, allocations: 0 / 0.6398 GB, free: 13.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1369, allocations: 0 / 0.6398 GB, free: 13.16 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008308/0.1377, allocations: 0.5498 MB / 0.6403 GB, free: 12.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.1377, allocations: 8.031 kB / 0.6403 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006915/0.1384, allocations: 96.45 kB / 0.6404 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.1387, allocations: 256 kB / 0.6407 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1387, allocations: 12.81 kB / 0.6407 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.516e-05/0.1388, allocations: 36.44 kB / 0.6407 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005142/0.1394, allocations: 377.2 kB / 0.6411 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.1394, allocations: 3.984 kB / 0.6411 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.1394, allocations: 4 kB / 0.6411 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-05/0.1395, allocations: 36.34 kB / 0.6411 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.14, allocations: 305.5 kB / 0.6414 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.1416, allocations: 1.521 MB / 0.6429 GB, free: 9.719 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.142, allocations: 234.3 kB / 0.6431 GB, free: 9.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.1421, allocations: 116.8 kB / 0.6432 GB, free: 9.363 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.1423, allocations: 89.11 kB / 0.6433 GB, free: 9.258 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.1423, allocations: 30.56 kB / 0.6433 GB, free: 9.219 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.1423, allocations: 0 / 0.6433 GB, free: 9.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=19): time 0.001126/0.1434, allocations: 0.7899 MB / 0.6441 GB, free: 8.379 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.1435, allocations: 55.41 kB / 0.6442 GB, free: 8.312 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.1437, allocations: 202.6 kB / 0.6444 GB, free: 8.105 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1437, allocations: 25.7 kB / 0.6444 GB, free: 8.074 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.827e-05/0.1438, allocations: 159.9 kB / 0.6445 GB, free: 7.914 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.1438, allocations: 71 kB / 0.6446 GB, free: 7.844 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.121e-05/0.1439, allocations: 53.61 kB / 0.6447 GB, free: 7.785 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.144, allocations: 338.8 kB / 0.645 GB, free: 7.445 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.1442, allocations: 115.9 kB / 0.6451 GB, free: 7.332 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.1444, allocations: 165.9 kB / 0.6453 GB, free: 7.148 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.1448, allocations: 293.4 kB / 0.6455 GB, free: 6.844 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1448, allocations: 3.938 kB / 0.6455 GB, free: 6.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006974/0.1455, allocations: 422 kB / 0.6459 GB, free: 6.418 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1455, allocations: 8 kB / 0.6459 GB, free: 6.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1455, allocations: 0 / 0.6459 GB, free: 6.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003824/0.1459, allocations: 104.8 kB / 0.646 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.1462, allocations: 47.91 kB / 0.6461 GB, free: 6.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.1479, allocations: 1.875 MB / 0.6479 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.1481, allocations: 19.95 kB / 0.6479 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.1482, allocations: 15.98 kB / 0.648 GB, free: 4.207 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.1483, allocations: 160.1 kB / 0.6481 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.1484, allocations: 15.81 kB / 0.6481 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004513/0.1488, allocations: 299.9 kB / 0.6484 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1489, allocations: 4.188 kB / 0.6484 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.1489, allocations: 4 kB / 0.6484 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1489, allocations: 7.922 kB / 0.6484 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008181/0.1497, allocations: 0.7047 MB / 0.6491 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1497, allocations: 8.062 kB / 0.6491 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.15, allocations: 55.89 kB / 0.6492 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.15, allocations: 4 kB / 0.6492 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.15, allocations: 7.938 kB / 0.6492 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.15, allocations: 4 kB / 0.6492 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1501, allocations: 0 / 0.6492 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005509/0.1506, allocations: 0.5112 MB / 0.6497 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.697e-05/0.1507, allocations: 116.9 kB / 0.6498 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.1508, allocations: 4 kB / 0.6498 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.1509, allocations: 19.97 kB / 0.6498 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.151, allocations: 15.83 kB / 0.6498 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.151, allocations: 8 kB / 0.6498 GB, free: 2.156 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.1511, allocations: 148 kB / 0.65 GB, free: 2.008 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1511, allocations: 0 / 0.65 GB, free: 2.008 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003251/0.1515, allocations: 68.06 kB / 0.6501 GB, free: 1.941 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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.000125/0.1516, allocations: 107.2 kB / 0.6502 GB, free: 1.824 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006573/0.1522, allocations: 421.7 kB / 0.6506 GB, free: 1.402 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1523, allocations: 384 / 0.6506 GB, free: 1.402 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.1524, allocations: 123.9 kB / 0.6507 GB, free: 1.281 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1528, allocations: 41.41 kB / 0.6507 GB, free: 1.242 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.1538, allocations: 0.664 MB / 0.6514 GB, free: 0.543 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.1542, allocations: 0.7675 MB / 0.6521 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.868e-05/0.1543, allocations: 23.44 kB / 0.6521 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1543, allocations: 0 / 0.6521 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of Templates: time 0.004997/0.1593, allocations: 3.615 MB / 0.6557 GB, free: 12.11 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)