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.005832/0.005832, allocations: 103.5 kB / 15.73 MB, free: 6.051 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.001368/0.001368, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002141/0.002141, allocations: 286.6 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9363/0.9363, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 107.8 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1658, allocations: 86.97 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.3569/0.5228, allocations: 17.17 MB / 0.7832 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008536/0.5313, allocations: 5.846 MB / 0.7889 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.5331, allocations: 52.72 kB / 0.7889 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003136/0.5362, allocations: 1.3 MB / 0.7902 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002272/0.5386, allocations: 0.8411 MB / 0.791 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003121/0.5417, allocations: 1.338 MB / 0.7923 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004617/0.5464, allocations: 4.302 MB / 0.7965 GB, free: 100 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008352/0.5547, allocations: 6.787 MB / 0.8031 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003165/0.5579, allocations: 1.927 MB / 0.805 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003493/0.5614, allocations: 2.285 MB / 0.8073 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008849/0.5623, allocations: 453.1 kB / 0.8077 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.5643, allocations: 0.8489 MB / 0.8085 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002033/0.5663, allocations: 1.715 MB / 0.8102 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002292/0.5686, allocations: 1.76 MB / 0.8119 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007868/0.5765, allocations: 6.379 MB / 0.8181 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.5765, allocations: 3.938 kB / 0.8181 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5765, allocations: 4 kB / 0.8181 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001505/0.5767, allocations: 0 / 0.8181 GB, free: 6.609 MB / 0.5762 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.007185/0.5839, allocations: 3.076 MB / 0.8211 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.5839, allocations: 10.06 kB / 0.8212 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005263/0.5892, allocations: 1.122 MB / 0.8223 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/0.5922, allocations: 1.632 MB / 0.8238 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.5923, allocations: 223.9 kB / 0.8241 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004953/0.5928, allocations: 295.2 kB / 0.8243 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008793/0.6016, allocations: 5.317 MB / 0.8295 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.729e-05/0.6017, allocations: 2.25 kB / 0.8295 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000356/0.6021, allocations: 126.7 kB / 0.8297 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002252/0.6023, allocations: 205.7 kB / 0.8299 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007433/0.6098, allocations: 4.755 MB / 0.8345 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02443/0.6342, allocations: 22.99 MB / 0.8569 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004316/0.6385, allocations: 3.191 MB / 0.8601 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.6398, allocations: 0.9211 MB / 0.861 GB, free: 116 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/0.64, allocations: 101.8 kB / 0.8611 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.6401, allocations: 51.16 kB / 0.8611 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.766e-06/0.6401, allocations: 0 / 0.8611 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.003127/0.6432, allocations: 2.077 MB / 0.8631 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.6433, allocations: 223 kB / 0.8633 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.6447, allocations: 1.094 MB / 0.8644 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.793e-05/0.6448, allocations: 37.7 kB / 0.8645 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007572/0.6456, allocations: 1.285 MB / 0.8657 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/0.6458, allocations: 299.9 kB / 0.866 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005241/0.6464, allocations: 355.1 kB / 0.8663 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6465, allocations: 341.9 kB / 0.8667 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.6477, allocations: 0.8947 MB / 0.8675 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.6494, allocations: 1.515 MB / 0.869 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00276/0.6521, allocations: 2.354 MB / 0.8713 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.6522, allocations: 4 kB / 0.8713 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003497/0.6557, allocations: 2.496 MB / 0.8738 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.6557, allocations: 12 kB / 0.8738 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.6557, allocations: 20 kB / 0.8738 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.458e-05/0.6558, allocations: 28 kB / 0.8738 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.6573, allocations: 459.2 kB / 0.8742 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.304e-05/0.6573, allocations: 39.86 kB / 0.8743 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.6587, allocations: 349.9 kB / 0.8746 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.6588, allocations: 79.98 kB / 0.8747 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002737/0.6616, allocations: 1.905 MB / 0.8766 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001542/0.6631, allocations: 1.442 MB / 0.878 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002577/0.6657, allocations: 2.202 MB / 0.8801 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.248e-05/0.6657, allocations: 4 kB / 0.8801 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003319/0.6691, allocations: 2.32 MB / 0.8824 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.6691, allocations: 12 kB / 0.8824 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.6691, allocations: 28.06 kB / 0.8824 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.6692, allocations: 28 kB / 0.8824 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.6705, allocations: 439.3 kB / 0.8829 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.282e-05/0.6706, allocations: 43.8 kB / 0.8829 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.6719, allocations: 282.6 kB / 0.8832 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.672, allocations: 79.92 kB / 0.8833 GB, free: 8.016 MB / 0.6387 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.0002888/0.6723, allocations: 284.3 kB / 0.8835 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/0.6726, allocations: 102.8 kB / 0.8836 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.6748, allocations: 1.56 MB / 0.8851 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/0.6749, allocations: 8 kB / 0.8852 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.6749, allocations: 4 kB / 0.8852 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.6749, allocations: 15.92 kB / 0.8852 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006815/0.6817, allocations: 4.466 MB / 0.8895 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.6817, allocations: 0 / 0.8895 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009282/0.6827, allocations: 251.5 kB / 0.8898 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.6827, allocations: 8 kB / 0.8898 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.999e-05/0.6827, allocations: 20 kB / 0.8898 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.6828, allocations: 4 kB / 0.8898 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.6828, allocations: 0 / 0.8898 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.6848, allocations: 1.908 MB / 0.8917 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004699/0.6853, allocations: 323.7 kB / 0.892 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.6854, allocations: 19.91 kB / 0.892 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008751/0.6863, allocations: 123.8 kB / 0.8921 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.6865, allocations: 56.52 kB / 0.8922 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.569e-05/0.6865, allocations: 28 kB / 0.8922 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009717/0.6875, allocations: 0.7995 MB / 0.893 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6875, allocations: 0 / 0.893 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00322/0.6908, allocations: 1.302 MB / 0.8942 GB, free: 12.57 MB / 0.6544 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.0002219/0.691, allocations: 133.4 kB / 0.8944 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004119/0.6951, allocations: 2.979 MB / 0.8973 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6951, allocations: 320 / 0.8973 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008426/0.696, allocations: 0.6594 MB / 0.8979 GB, free: 8.797 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.6973, allocations: 204.7 kB / 0.8981 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007755/0.7051, allocations: 4.51 MB / 0.9025 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002553/0.7076, allocations: 2.21 MB / 0.9047 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002295/0.7099, allocations: 1.097 MB / 0.9058 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003411/0.7103, allocations: 87.42 kB / 0.9058 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/0.7103, allocations: 3.938 kB / 0.9058 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of Templates: time 0.02737/0.7377, allocations: 16.33 MB / 0.9218 GB, free: 424 kB / 0.67 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)