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.001454/0.001454, allocations: 105.8 kB / 16.4 MB, free: 6.449 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.00161/0.00161, allocations: 191.9 kB / 17.34 MB, free: 5.734 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.522/1.522, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7564/0.7564, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 70.78 kB / 0.5685 GB, free: 28.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1566, allocations: 77.94 MB / 0.6446 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02114/0.1777, allocations: 17.16 MB / 0.6614 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01052/0.1883, allocations: 5.845 MB / 0.6671 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.1903, allocations: 55.88 kB / 0.6671 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00351/0.1939, allocations: 1.301 MB / 0.6684 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002276/0.1961, allocations: 0.8324 MB / 0.6692 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003222/0.1994, allocations: 1.344 MB / 0.6705 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004603/0.204, allocations: 4.291 MB / 0.6747 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007448/0.2115, allocations: 6.797 MB / 0.6813 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002786/0.2143, allocations: 1.913 MB / 0.6832 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003409/0.2177, allocations: 2.283 MB / 0.6854 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006908/0.2184, allocations: 444 kB / 0.6859 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.2201, allocations: 0.8506 MB / 0.6867 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001638/0.2217, allocations: 1.727 MB / 0.6884 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002115/0.2238, allocations: 1.759 MB / 0.6901 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007215/0.2311, allocations: 6.39 MB / 0.6963 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.2311, allocations: 0 / 0.6963 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2311, allocations: 4 kB / 0.6963 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001328/0.2313, allocations: 0 / 0.6963 GB, free: 3.766 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.006504/0.2378, allocations: 3.138 MB / 0.6994 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.2378, allocations: 12.62 kB / 0.6994 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005095/0.2429, allocations: 1.127 MB / 0.7005 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/0.2457, allocations: 1.636 MB / 0.7021 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.2459, allocations: 226.3 kB / 0.7023 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004814/0.2464, allocations: 292.4 kB / 0.7026 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009561/0.256, allocations: 5.304 MB / 0.7078 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.883e-05/0.256, allocations: 7.875 kB / 0.7078 GB, free: 7.824 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003231/0.2564, allocations: 128 kB / 0.7079 GB, free: 7.699 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002336/0.2566, allocations: 205.1 kB / 0.7081 GB, free: 7.496 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008554/0.2652, allocations: 4.759 MB / 0.7128 GB, free: 2.723 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02953/0.2948, allocations: 23.03 MB / 0.7353 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004592/0.2994, allocations: 3.171 MB / 0.7384 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/0.3007, allocations: 0.9212 MB / 0.7393 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000179/0.3009, allocations: 109.7 kB / 0.7394 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.301, allocations: 47.16 kB / 0.7394 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.665e-06/0.301, allocations: 0 / 0.7394 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003352/0.3043, allocations: 2.086 MB / 0.7414 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.3045, allocations: 218.2 kB / 0.7416 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.3059, allocations: 1.098 MB / 0.7427 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.556e-05/0.306, allocations: 41.7 kB / 0.7428 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007335/0.3068, allocations: 1.333 MB / 0.7441 GB, free: 32 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.3188/0.6256, allocations: 304.9 kB / 0.7444 GB, free: 91.71 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007606/0.6264, allocations: 355.2 kB / 0.7447 GB, free: 91.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.6265, allocations: 344.1 kB / 0.745 GB, free: 91.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.6281, allocations: 0.8904 MB / 0.7459 GB, free: 91.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.6299, allocations: 1.522 MB / 0.7474 GB, free: 90.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002899/0.6328, allocations: 2.359 MB / 0.7497 GB, free: 89.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.516e-05/0.6329, allocations: 6.188 kB / 0.7497 GB, free: 89.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004124/0.637, allocations: 2.488 MB / 0.7521 GB, free: 88.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.637, allocations: 14.31 kB / 0.7521 GB, free: 88.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-05/0.6371, allocations: 19.91 kB / 0.7522 GB, free: 88.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.351e-05/0.6371, allocations: 27.81 kB / 0.7522 GB, free: 88.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/0.6389, allocations: 462.2 kB / 0.7526 GB, free: 88.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.143e-05/0.6389, allocations: 43.17 kB / 0.7527 GB, free: 88.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.6404, allocations: 356.4 kB / 0.753 GB, free: 88.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.6405, allocations: 78.33 kB / 0.7531 GB, free: 88.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002782/0.6433, allocations: 1.899 MB / 0.7549 GB, free: 87.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001663/0.645, allocations: 1.443 MB / 0.7563 GB, free: 86.47 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002697/0.6477, allocations: 2.204 MB / 0.7585 GB, free: 85.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.426e-05/0.6477, allocations: 5.562 kB / 0.7585 GB, free: 85.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.004046/0.6518, allocations: 2.331 MB / 0.7608 GB, free: 84.19 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.6518, allocations: 14.19 kB / 0.7608 GB, free: 84.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/0.6519, allocations: 19.41 kB / 0.7608 GB, free: 84.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/0.6519, allocations: 28.36 kB / 0.7608 GB, free: 84.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.6533, allocations: 439 kB / 0.7612 GB, free: 84.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.21e-05/0.6534, allocations: 45.11 kB / 0.7613 GB, free: 84.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.6549, allocations: 284.5 kB / 0.7616 GB, free: 84.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.6551, allocations: 85.92 kB / 0.7616 GB, free: 84.06 MB / 0.5762 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.000411/0.6555, allocations: 283.1 kB / 0.7619 GB, free: 83.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/0.6558, allocations: 101.7 kB / 0.762 GB, free: 83.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/0.6581, allocations: 1.556 MB / 0.7635 GB, free: 83.17 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.6581, allocations: 17.81 kB / 0.7635 GB, free: 83.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.6581, allocations: 1.406 kB / 0.7635 GB, free: 83.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.6581, allocations: 6.719 kB / 0.7636 GB, free: 83.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005503/0.6636, allocations: 4.474 MB / 0.7679 GB, free: 81.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.6637, allocations: 1.781 kB / 0.7679 GB, free: 81.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009092/0.6646, allocations: 254.2 kB / 0.7682 GB, free: 81.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-06/0.6646, allocations: 4.125 kB / 0.7682 GB, free: 81.29 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.137e-05/0.6647, allocations: 20.12 kB / 0.7682 GB, free: 81.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.6647, allocations: 8.062 kB / 0.7682 GB, free: 81.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6647, allocations: 6.688 kB / 0.7682 GB, free: 81.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.6665, allocations: 1.911 MB / 0.7701 GB, free: 80.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/0.6668, allocations: 326 kB / 0.7704 GB, free: 80.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.667, allocations: 22.73 kB / 0.7704 GB, free: 80 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008579/0.6679, allocations: 128.2 kB / 0.7705 GB, free: 79.98 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.668, allocations: 51.42 kB / 0.7706 GB, free: 79.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.668, allocations: 19.78 kB / 0.7706 GB, free: 79.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007825/0.6688, allocations: 0.8034 MB / 0.7714 GB, free: 79.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6688, allocations: 0 / 0.7714 GB, free: 79.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0028/0.6716, allocations: 1.323 MB / 0.7727 GB, free: 79.38 MB / 0.5762 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.0001543/0.6718, allocations: 122.3 kB / 0.7728 GB, free: 79.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003527/0.6753, allocations: 2.984 MB / 0.7757 GB, free: 78.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6753, allocations: 3.188 kB / 0.7757 GB, free: 78.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006786/0.676, allocations: 0.6605 MB / 0.7764 GB, free: 77.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.6774, allocations: 204.5 kB / 0.7765 GB, free: 77.74 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005311/0.6827, allocations: 4.578 MB / 0.781 GB, free: 73.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/0.6842, allocations: 2.202 MB / 0.7832 GB, free: 70.99 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00193/0.6862, allocations: 1.091 MB / 0.7842 GB, free: 69.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/0.6865, allocations: 95.41 kB / 0.7843 GB, free: 69.81 MB / 0.5762 GB Notification: Performance of SimCode: time 9.11e-07/0.6865, allocations: 4 kB / 0.7843 GB, free: 69.81 MB / 0.5762 GB Notification: Performance of Templates: time 0.02055/0.7071, allocations: 16.32 MB / 0.8003 GB, free: 53.66 MB / 0.5762 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)