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.001133/0.001133, allocations: 101.3 kB / 16.4 MB, free: 6.457 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.001145/0.001145, allocations: 196 kB / 17.34 MB, free: 5.719 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7744/0.7744, allocations: 115.3 MB / 406.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 65.08 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1674, allocations: 76.18 MB / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02098/0.1884, allocations: 17.16 MB / 0.6488 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01128/0.1998, allocations: 5.841 MB / 0.6545 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.2015, allocations: 51.88 kB / 0.6546 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003918/0.2055, allocations: 1.301 MB / 0.6559 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.2083, allocations: 0.8441 MB / 0.6567 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003914/0.2122, allocations: 1.337 MB / 0.658 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006096/0.2183, allocations: 4.299 MB / 0.6622 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009848/0.2282, allocations: 6.805 MB / 0.6688 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003241/0.2315, allocations: 1.929 MB / 0.6707 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004133/0.2357, allocations: 2.283 MB / 0.673 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001299/0.237, allocations: 448 kB / 0.6734 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.2395, allocations: 0.8506 MB / 0.6742 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002625/0.2422, allocations: 1.727 MB / 0.6759 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003203/0.2454, allocations: 1.755 MB / 0.6776 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007409/0.2528, allocations: 6.373 MB / 0.6838 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.2529, allocations: 3.938 kB / 0.6838 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.926e-06/0.2529, allocations: 7.938 kB / 0.6838 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002535/0.2532, allocations: 0 / 0.6838 GB, free: 15.12 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.008763/0.2619, allocations: 3.076 MB / 0.6869 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.262, allocations: 8.031 kB / 0.6869 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005351/0.2673, allocations: 1.113 MB / 0.6879 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003257/0.2706, allocations: 1.635 MB / 0.6895 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.2708, allocations: 222.4 kB / 0.6898 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005547/0.2714, allocations: 292.3 kB / 0.69 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00946/0.2809, allocations: 5.304 MB / 0.6952 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.899e-05/0.281, allocations: 3.938 kB / 0.6952 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003382/0.2813, allocations: 128 kB / 0.6953 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002327/0.2816, allocations: 205.1 kB / 0.6955 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008563/0.2901, allocations: 4.759 MB / 0.7002 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03159/0.3218, allocations: 22.99 MB / 0.7226 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004951/0.3268, allocations: 3.179 MB / 0.7257 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.3282, allocations: 0.9211 MB / 0.7266 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/0.3283, allocations: 101.7 kB / 0.7267 GB, free: 432 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.3284, allocations: 51.16 kB / 0.7268 GB, free: 372 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.796e-06/0.3284, allocations: 0 / 0.7268 GB, free: 372 kB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003405/0.3318, allocations: 2.074 MB / 0.7288 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.751e-05/0.3319, allocations: 222.2 kB / 0.729 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.3335, allocations: 1.102 MB / 0.7301 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.087e-05/0.3335, allocations: 37.7 kB / 0.7301 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007703/0.3343, allocations: 1.285 MB / 0.7314 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003128/0.3346, allocations: 295.9 kB / 0.7317 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005424/0.3352, allocations: 351.1 kB / 0.732 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3353, allocations: 349.9 kB / 0.7323 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.3366, allocations: 0.8869 MB / 0.7332 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.3383, allocations: 1.515 MB / 0.7347 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002845/0.3411, allocations: 2.358 MB / 0.737 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.3412, allocations: 4 kB / 0.737 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003655/0.3448, allocations: 2.492 MB / 0.7394 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.3449, allocations: 15.94 kB / 0.7394 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/0.3449, allocations: 20 kB / 0.7395 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.354e-05/0.3449, allocations: 28 kB / 0.7395 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.3466, allocations: 459.7 kB / 0.7399 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.011e-05/0.3466, allocations: 39.86 kB / 0.74 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.3481, allocations: 349.7 kB / 0.7403 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.3482, allocations: 79.98 kB / 0.7404 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002576/0.3508, allocations: 1.905 MB / 0.7422 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001595/0.3524, allocations: 1.442 MB / 0.7436 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002614/0.355, allocations: 2.202 MB / 0.7458 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.099e-05/0.355, allocations: 7.938 kB / 0.7458 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003434/0.3585, allocations: 2.324 MB / 0.7481 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3585, allocations: 12 kB / 0.7481 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/0.3585, allocations: 23.98 kB / 0.7481 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.639e-05/0.3586, allocations: 28 kB / 0.7481 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.36, allocations: 443.2 kB / 0.7486 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.696e-05/0.3601, allocations: 39.86 kB / 0.7486 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.3615, allocations: 290.7 kB / 0.7489 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.3617, allocations: 75.98 kB / 0.7489 GB, free: 8.434 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.000328/0.362, allocations: 288.2 kB / 0.7492 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/0.3623, allocations: 98.88 kB / 0.7493 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/0.3648, allocations: 1.556 MB / 0.7508 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.3648, allocations: 8 kB / 0.7508 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.3648, allocations: 4 kB / 0.7508 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.3649, allocations: 7.922 kB / 0.7509 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006716/0.3716, allocations: 4.473 MB / 0.7552 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.3716, allocations: 4 kB / 0.7552 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000981/0.3726, allocations: 247.6 kB / 0.7555 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.3726, allocations: 4 kB / 0.7555 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.576e-05/0.3727, allocations: 20 kB / 0.7555 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.3727, allocations: 4 kB / 0.7555 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.3727, allocations: 3.938 kB / 0.7555 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3244/0.6971, allocations: 1.902 MB / 0.7573 GB, free: 115.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007577/0.6979, allocations: 324.6 kB / 0.7577 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.6981, allocations: 26.95 kB / 0.7577 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.6992, allocations: 121.6 kB / 0.7578 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.6994, allocations: 56.64 kB / 0.7579 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/0.6995, allocations: 23.94 kB / 0.7579 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001279/0.7008, allocations: 0.7971 MB / 0.7587 GB, free: 115 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7008, allocations: 0.625 kB / 0.7587 GB, free: 115 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003804/0.7046, 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.0002382/0.7048, allocations: 124.6 kB / 0.76 GB, free: 114.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005101/0.7099, allocations: 2.993 MB / 0.763 GB, free: 114.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.71, allocations: 1.062 kB / 0.763 GB, free: 114.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008637/0.7108, allocations: 0.6599 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.001556/0.7124, allocations: 191.3 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.007569/0.72, allocations: 4.508 MB / 0.7682 GB, free: 112 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002355/0.7224, allocations: 2.208 MB / 0.7704 GB, free: 110.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002477/0.7249, allocations: 1.101 MB / 0.7714 GB, free: 110.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003355/0.7252, allocations: 88.89 kB / 0.7715 GB, free: 110.9 MB / 0.5919 GB Notification: Performance of SimCode: time 9.72e-07/0.7252, allocations: 0 / 0.7715 GB, free: 110.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.02191/0.7471, allocations: 16.33 MB / 0.7875 GB, free: 104.1 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)