Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 100.2 kB / 16.4 MB, free: 6.398 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.001283/0.001284, allocations: 196 kB / 17.34 MB, free: 5.695 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6758/0.6758, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 67.11 kB / 0.5577 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1306, allocations: 76.18 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01886/0.1495, allocations: 17.18 MB / 0.6489 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009351/0.1589, allocations: 5.834 MB / 0.6546 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.1602, allocations: 55.88 kB / 0.6546 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003139/0.1634, allocations: 1.297 MB / 0.6559 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001939/0.1654, allocations: 0.8363 MB / 0.6567 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002824/0.1682, allocations: 1.328 MB / 0.658 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004027/0.1722, allocations: 4.287 MB / 0.6622 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006965/0.1792, allocations: 6.809 MB / 0.6688 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002471/0.1817, allocations: 1.929 MB / 0.6707 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003223/0.1849, allocations: 2.287 MB / 0.6729 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005753/0.1855, allocations: 448 kB / 0.6734 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.187, allocations: 0.8467 MB / 0.6742 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001377/0.1884, allocations: 1.727 MB / 0.6759 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001629/0.19, allocations: 1.751 MB / 0.6776 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005408/0.1954, allocations: 6.377 MB / 0.6838 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.1954, allocations: 4 kB / 0.6838 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1955, allocations: 7.938 kB / 0.6838 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001194/0.1956, allocations: 0 / 0.6838 GB, free: 15.16 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.005964/0.2015, allocations: 3.08 MB / 0.6868 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2016, allocations: 8.031 kB / 0.6868 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004839/0.2064, allocations: 1.109 MB / 0.6879 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002526/0.209, allocations: 1.635 MB / 0.6895 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.2091, allocations: 226.3 kB / 0.6897 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004272/0.2096, allocations: 296.3 kB / 0.69 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007911/0.2175, allocations: 5.292 MB / 0.6952 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.413e-05/0.2176, allocations: 3.938 kB / 0.6952 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003033/0.2179, allocations: 124 kB / 0.6953 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000208/0.2181, allocations: 213.1 kB / 0.6955 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006809/0.2249, allocations: 4.755 MB / 0.7002 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02403/0.2489, allocations: 23 MB / 0.7226 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004635/0.2536, allocations: 3.183 MB / 0.7257 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.255, allocations: 0.9172 MB / 0.7266 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001855/0.2552, allocations: 113.7 kB / 0.7267 GB, free: 452 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.2552, allocations: 43.22 kB / 0.7268 GB, free: 400 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 4.218e-06/0.2553, allocations: 3.938 kB / 0.7268 GB, free: 396 kB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003665/0.2589, allocations: 2.07 MB / 0.7288 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/0.2591, allocations: 222.2 kB / 0.729 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.2607, allocations: 1.103 MB / 0.7301 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.963e-05/0.2608, allocations: 41.7 kB / 0.7301 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000927/0.2617, allocations: 1.285 MB / 0.7314 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.262, allocations: 299.9 kB / 0.7317 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004672/0.2624, allocations: 351.1 kB / 0.732 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2626, allocations: 341.9 kB / 0.7323 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.2637, allocations: 0.8869 MB / 0.7332 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001732/0.2655, allocations: 1.519 MB / 0.7347 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002752/0.2682, allocations: 2.358 MB / 0.737 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/0.2683, allocations: 4 kB / 0.737 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003631/0.2719, allocations: 2.488 MB / 0.7394 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.2719, allocations: 12.19 kB / 0.7394 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/0.272, allocations: 27.94 kB / 0.7394 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.507e-05/0.272, allocations: 28 kB / 0.7395 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.2736, allocations: 459.2 kB / 0.7399 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.751e-05/0.2737, allocations: 39.86 kB / 0.74 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.2751, allocations: 349.7 kB / 0.7403 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.2752, allocations: 87.92 kB / 0.7404 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002764/0.278, allocations: 1.897 MB / 0.7422 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001614/0.2796, allocations: 1.438 MB / 0.7436 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002518/0.2822, allocations: 2.202 MB / 0.7458 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.415e-06/0.2822, allocations: 4 kB / 0.7458 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003292/0.2855, allocations: 2.328 MB / 0.7481 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.2855, allocations: 12 kB / 0.7481 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.2855, allocations: 20 kB / 0.7481 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.2856, allocations: 28.78 kB / 0.7481 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.287, allocations: 443.2 kB / 0.7485 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.981e-05/0.287, allocations: 43.86 kB / 0.7486 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.2884, allocations: 282.5 kB / 0.7488 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.2885, allocations: 75.98 kB / 0.7489 GB, free: 8.465 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (197): * Single equations (assignments): 197 * 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.0004274/0.2889, allocations: 292.2 kB / 0.7492 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/0.2892, allocations: 98.88 kB / 0.7493 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002361/0.2916, allocations: 1.552 MB / 0.7508 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.2916, allocations: 8 kB / 0.7508 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.2916, allocations: 7.938 kB / 0.7508 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.2917, allocations: 7.922 kB / 0.7508 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006266/0.2979, allocations: 4.473 MB / 0.7552 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.2979, allocations: 4 kB / 0.7552 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009504/0.2989, allocations: 247.6 kB / 0.7554 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.2989, allocations: 11.94 kB / 0.7554 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/0.299, allocations: 20 kB / 0.7555 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.545e-06/0.299, allocations: 7.938 kB / 0.7555 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.299, allocations: 4 kB / 0.7555 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2837/0.5827, allocations: 1.904 MB / 0.7573 GB, free: 115.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005831/0.5833, allocations: 325.7 kB / 0.7576 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.5834, allocations: 17.44 kB / 0.7577 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009882/0.5844, allocations: 125.1 kB / 0.7578 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.5846, allocations: 53.05 kB / 0.7578 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/0.5847, allocations: 24.33 kB / 0.7579 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009944/0.5857, allocations: 0.7958 MB / 0.7586 GB, free: 115 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5857, allocations: 0.5 kB / 0.7586 GB, free: 115 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002639/0.5883, allocations: 1.301 MB / 0.7599 GB, free: 114.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (85): * Single equations (assignments): 85 * 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.0001562/0.5885, allocations: 128.8 kB / 0.76 GB, free: 114.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003922/0.5924, allocations: 2.989 MB / 0.7629 GB, free: 114.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5924, allocations: 4.188 kB / 0.763 GB, free: 114.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007396/0.5932, allocations: 0.6592 MB / 0.7636 GB, free: 113.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.5944, allocations: 193.6 kB / 0.7638 GB, free: 113.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006219/0.6007, allocations: 4.504 MB / 0.7682 GB, free: 112 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002356/0.603, allocations: 2.21 MB / 0.7703 GB, free: 110.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002351/0.6054, allocations: 1.096 MB / 0.7714 GB, free: 110.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.6057, allocations: 87.94 kB / 0.7715 GB, free: 110.9 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.6057, allocations: 5 kB / 0.7715 GB, free: 110.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.02034/0.6261, allocations: 16.33 MB / 0.7874 GB, free: 104.2 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)