Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001026/0.001026, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00108/0.00108, allocations: 190.3 kB / 16.25 MB, free: 6.629 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.353/1.353, allocations: 222.9 MB / 239.9 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002026/0.002026, allocations: 282.7 kB / 290.4 MB, free: 2.047 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9663/0.9663, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 91.59 kB / 0.5947 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1516, allocations: 86.99 MB / 0.6796 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01906/0.1707, allocations: 17.06 MB / 0.6963 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008819/0.1796, allocations: 5.794 MB / 0.702 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.1807, allocations: 43.88 kB / 0.702 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002977/0.1837, allocations: 1.213 MB / 0.7032 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001929/0.1856, allocations: 0.7707 MB / 0.7039 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.1884, allocations: 1.227 MB / 0.7051 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003988/0.1924, allocations: 4.299 MB / 0.7093 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009919/0.2024, allocations: 8.149 MB / 0.7173 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/0.2048, allocations: 1.925 MB / 0.7192 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002737/0.2075, allocations: 2.396 MB / 0.7215 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005335/0.208, allocations: 448 kB / 0.7219 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.2094, allocations: 0.8467 MB / 0.7228 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001451/0.2108, allocations: 1.727 MB / 0.7244 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001747/0.2126, allocations: 1.759 MB / 0.7262 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005197/0.2178, allocations: 6.369 MB / 0.7324 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.2178, allocations: 0 / 0.7324 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2178, allocations: 0 / 0.7324 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001278/0.218, allocations: 0 / 0.7324 GB, free: 10.83 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.005923/0.2239, allocations: 3.074 MB / 0.7354 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.224, allocations: 8.031 kB / 0.7354 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005107/0.2291, allocations: 1.117 MB / 0.7365 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/0.2317, allocations: 1.604 MB / 0.7381 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/0.232, allocations: 234.2 kB / 0.7383 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006666/0.2326, allocations: 292.3 kB / 0.7386 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008852/0.2415, allocations: 5.3 MB / 0.7437 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.849e-05/0.2416, allocations: 0 / 0.7437 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004089/0.242, allocations: 132 kB / 0.7439 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000216/0.2422, allocations: 205.1 kB / 0.7441 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007649/0.2499, allocations: 4.755 MB / 0.7487 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02821/0.2781, allocations: 23.17 MB / 0.7713 GB, free: 500 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2698/0.5479, allocations: 3.176 MB / 0.7744 GB, free: 87.75 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.5492, allocations: 0.9127 MB / 0.7753 GB, free: 87.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001354/0.5494, allocations: 105.6 kB / 0.7754 GB, free: 87.54 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.5494, allocations: 51.05 kB / 0.7755 GB, free: 87.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.806e-06/0.5494, allocations: 0.75 kB / 0.7755 GB, free: 87.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.002896/0.5523, allocations: 2.076 MB / 0.7775 GB, free: 86.85 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/0.5524, allocations: 224.5 kB / 0.7777 GB, free: 86.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.5539, allocations: 1.095 MB / 0.7788 GB, free: 86.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.017e-05/0.5539, allocations: 42.39 kB / 0.7788 GB, free: 86.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005446/0.5545, allocations: 1.287 MB / 0.7801 GB, free: 85.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.5547, allocations: 297.9 kB / 0.7804 GB, free: 85.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004775/0.5552, allocations: 354.7 kB / 0.7807 GB, free: 84.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.509e-05/0.5552, allocations: 339.7 kB / 0.781 GB, free: 84.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.5564, allocations: 0.8971 MB / 0.7819 GB, free: 84.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.5578, allocations: 1.505 MB / 0.7834 GB, free: 83.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00222/0.56, allocations: 2.365 MB / 0.7857 GB, free: 81.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.56, allocations: 6.594 kB / 0.7857 GB, free: 81.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003268/0.5633, allocations: 2.487 MB / 0.7881 GB, free: 80.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.5633, allocations: 12.78 kB / 0.7881 GB, free: 80.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/0.5633, allocations: 26.09 kB / 0.7881 GB, free: 80.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.694e-05/0.5634, allocations: 26.33 kB / 0.7882 GB, free: 80.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.5649, allocations: 458.3 kB / 0.7886 GB, free: 80.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.189e-05/0.5649, allocations: 44.28 kB / 0.7886 GB, free: 80.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.5663, allocations: 349.7 kB / 0.789 GB, free: 80.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.5664, allocations: 84.98 kB / 0.7891 GB, free: 80.74 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002407/0.5688, allocations: 1.903 MB / 0.7909 GB, free: 80.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00127/0.5701, allocations: 1.434 MB / 0.7923 GB, free: 78.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002042/0.5721, allocations: 2.206 MB / 0.7945 GB, free: 77.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.578e-06/0.5722, allocations: 10.16 kB / 0.7945 GB, free: 77.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003377/0.5755, allocations: 2.326 MB / 0.7968 GB, free: 76.69 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.5756, allocations: 12.84 kB / 0.7968 GB, free: 76.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.5756, allocations: 19.75 kB / 0.7968 GB, free: 76.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.5756, allocations: 27.81 kB / 0.7968 GB, free: 76.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.577, allocations: 441.2 kB / 0.7972 GB, free: 76.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.153e-05/0.577, allocations: 40.38 kB / 0.7973 GB, free: 76.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.5784, allocations: 289.7 kB / 0.7976 GB, free: 76.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.5785, allocations: 77.47 kB / 0.7976 GB, free: 76.54 MB / 0.5606 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.0003653/0.5789, allocations: 288.4 kB / 0.7979 GB, free: 76.28 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/0.5791, allocations: 97.09 kB / 0.798 GB, free: 76.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.5812, allocations: 1.559 MB / 0.7995 GB, free: 75.63 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.5812, allocations: 9.656 kB / 0.7995 GB, free: 75.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.5813, allocations: 9.594 kB / 0.7995 GB, free: 75.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.5813, allocations: 6.719 kB / 0.7995 GB, free: 75.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005336/0.5866, allocations: 4.494 MB / 0.8039 GB, free: 73.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.5866, allocations: 1.406 kB / 0.8039 GB, free: 73.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009187/0.5876, allocations: 247.3 kB / 0.8042 GB, free: 73.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.5876, allocations: 4.594 kB / 0.8042 GB, free: 73.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.5876, allocations: 17.73 kB / 0.8042 GB, free: 73.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/0.5876, allocations: 8.156 kB / 0.8042 GB, free: 73.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.5877, allocations: 2.656 kB / 0.8042 GB, free: 73.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.5894, allocations: 1.907 MB / 0.8061 GB, free: 72.35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003885/0.5898, allocations: 323.2 kB / 0.8064 GB, free: 72.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.5899, allocations: 25.66 kB / 0.8064 GB, free: 72.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008479/0.5908, allocations: 122.8 kB / 0.8065 GB, free: 72.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.5909, allocations: 52.95 kB / 0.8066 GB, free: 72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/0.591, allocations: 22.62 kB / 0.8066 GB, free: 72 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008727/0.5919, allocations: 0.8015 MB / 0.8074 GB, free: 71.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5919, allocations: 3.969 kB / 0.8074 GB, free: 71.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002752/0.5946, allocations: 1.296 MB / 0.8086 GB, free: 71.14 MB / 0.5606 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.0001525/0.5948, allocations: 130.7 kB / 0.8088 GB, free: 71.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004126/0.5989, allocations: 3.476 MB / 0.8122 GB, free: 69.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5989, allocations: 0 / 0.8122 GB, free: 69.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006623/0.5996, allocations: 0.6596 MB / 0.8128 GB, free: 69.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.601, allocations: 203.9 kB / 0.813 GB, free: 69.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005832/0.6068, allocations: 5.769 MB / 0.8186 GB, free: 64.08 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/0.6082, allocations: 2.209 MB / 0.8208 GB, free: 61.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002046/0.6103, allocations: 1.106 MB / 0.8219 GB, free: 60.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.6106, allocations: 91.41 kB / 0.8219 GB, free: 60.66 MB / 0.5606 GB Notification: Performance of SimCode: time 7.81e-07/0.6106, allocations: 0 / 0.8219 GB, free: 60.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.02159/0.6322, allocations: 15.79 MB / 0.8374 GB, free: 45.07 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)