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.001175/0.001175, allocations: 108.1 kB / 16.41 MB, free: 6.496 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.001204/0.001205, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002115/0.002115, allocations: 284.2 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9746/0.9746, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 95.84 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4509, allocations: 86.98 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01901/0.4699, allocations: 17.17 MB / 0.7838 GB, free: 2.691 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009116/0.4791, allocations: 5.845 MB / 0.7895 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.4804, allocations: 55.88 kB / 0.7896 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003533/0.4839, allocations: 1.293 MB / 0.7908 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.4861, allocations: 0.8402 MB / 0.7917 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.4893, allocations: 1.345 MB / 0.793 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004296/0.4936, allocations: 4.299 MB / 0.7972 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00756/0.5012, allocations: 6.793 MB / 0.8038 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002512/0.5037, allocations: 1.933 MB / 0.8057 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003356/0.5071, allocations: 2.283 MB / 0.8079 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009927/0.5081, allocations: 448 kB / 0.8084 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.51, allocations: 0.8506 MB / 0.8092 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00213/0.5121, allocations: 1.716 MB / 0.8109 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00291/0.515, allocations: 1.755 MB / 0.8126 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007168/0.5222, allocations: 6.376 MB / 0.8188 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.5222, allocations: 4 kB / 0.8188 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5222, allocations: 0 / 0.8188 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.00019/0.5224, allocations: 0 / 0.8188 GB, free: 14.69 MB / 0.5919 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.007855/0.5303, allocations: 3.076 MB / 0.8218 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.5304, allocations: 12.03 kB / 0.8218 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005448/0.5358, allocations: 1.121 MB / 0.8229 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00289/0.5387, allocations: 1.635 MB / 0.8245 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.5389, allocations: 226.4 kB / 0.8247 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005784/0.5395, allocations: 288.3 kB / 0.825 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008651/0.5481, allocations: 5.311 MB / 0.8302 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.771e-05/0.5482, allocations: 0 / 0.8302 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003218/0.5485, allocations: 124 kB / 0.8303 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002153/0.5488, allocations: 205.1 kB / 0.8305 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007511/0.5563, allocations: 4.764 MB / 0.8352 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0256/0.5819, allocations: 22.99 MB / 0.8576 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004461/0.5864, allocations: 3.187 MB / 0.8607 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.5876, allocations: 0.9274 MB / 0.8616 GB, free: 88 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.5878, allocations: 105.7 kB / 0.8617 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.5879, allocations: 51.14 kB / 0.8618 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 2.464e-06/0.5879, allocations: 0 / 0.8618 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82): time 0.003154/0.591, allocations: 2.07 MB / 0.8638 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.437e-05/0.5911, allocations: 219 kB / 0.864 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.5926, allocations: 1.098 MB / 0.8651 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.81e-05/0.5927, allocations: 37.7 kB / 0.8651 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007554/0.5935, allocations: 1.285 MB / 0.8664 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.5937, allocations: 299.8 kB / 0.8667 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005075/0.5942, allocations: 351.1 kB / 0.867 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5944, allocations: 341.9 kB / 0.8673 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.5956, allocations: 0.8986 MB / 0.8682 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/0.5973, allocations: 1.519 MB / 0.8697 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002723/0.6, allocations: 2.346 MB / 0.872 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/0.6, allocations: 8 kB / 0.872 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003654/0.6037, allocations: 2.492 MB / 0.8744 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.6037, allocations: 16 kB / 0.8744 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.244e-05/0.6038, allocations: 20 kB / 0.8744 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.898e-05/0.6038, allocations: 24 kB / 0.8745 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.6054, allocations: 463.2 kB / 0.8749 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-05/0.6055, allocations: 43.8 kB / 0.8749 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.607, allocations: 350 kB / 0.8753 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.6072, allocations: 79.97 kB / 0.8754 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00256/0.6097, allocations: 1.907 MB / 0.8772 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001508/0.6113, allocations: 1.438 MB / 0.8786 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002527/0.6138, allocations: 2.202 MB / 0.8808 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.268e-05/0.6138, allocations: 4 kB / 0.8808 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003538/0.6174, allocations: 2.328 MB / 0.8831 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.6174, allocations: 20.22 kB / 0.8831 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.072e-05/0.6174, allocations: 20 kB / 0.8831 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-05/0.6175, allocations: 28 kB / 0.8831 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.619, allocations: 431.3 kB / 0.8835 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.417e-05/0.6191, allocations: 43.8 kB / 0.8836 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.6208, allocations: 286.6 kB / 0.8838 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/0.621, allocations: 79.98 kB / 0.8839 GB, free: 8 MB / 0.6544 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.0004873/0.6215, allocations: 287.6 kB / 0.8842 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004126/0.6219, allocations: 98.88 kB / 0.8843 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.6244, allocations: 1.556 MB / 0.8858 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.6245, allocations: 11.94 kB / 0.8858 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.6245, allocations: 8 kB / 0.8858 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.6245, allocations: 7.922 kB / 0.8858 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006599/0.6311, allocations: 4.466 MB / 0.8902 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.6311, allocations: 11.94 kB / 0.8902 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009967/0.6321, allocations: 247.6 kB / 0.8904 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.6321, allocations: 7.984 kB / 0.8905 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-05/0.6322, allocations: 19.98 kB / 0.8905 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.6322, allocations: 4 kB / 0.8905 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.6322, allocations: 4 kB / 0.8905 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/0.6343, allocations: 1.912 MB / 0.8923 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004722/0.6348, allocations: 319.6 kB / 0.8927 GB, free: 14.87 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/0.635, allocations: 19.94 kB / 0.8927 GB, free: 14.85 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009469/0.636, allocations: 123.8 kB / 0.8928 GB, free: 14.73 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.6361, allocations: 60.52 kB / 0.8928 GB, free: 14.67 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.6362, allocations: 20 kB / 0.8929 GB, free: 14.65 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00103/0.6372, allocations: 0.7956 MB / 0.8936 GB, free: 13.86 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6372, allocations: 0 / 0.8936 GB, free: 13.86 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003283/0.6405, allocations: 1.309 MB / 0.8949 GB, free: 12.54 MB / 0.67 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.0002271/0.6408, allocations: 127.1 kB / 0.895 GB, free: 12.41 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004493/0.6453, allocations: 2.98 MB / 0.898 GB, free: 9.441 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.6453, allocations: 8 kB / 0.898 GB, free: 9.434 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000887/0.6462, allocations: 0.6555 MB / 0.8986 GB, free: 8.773 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.6478, allocations: 196.2 kB / 0.8988 GB, free: 8.594 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008362/0.6561, allocations: 4.996 MB / 0.9037 GB, free: 3.539 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002525/0.6587, allocations: 2.281 MB / 0.9059 GB, free: 1.219 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005082/0.6592, allocations: 107.4 kB / 0.906 GB, free: 1.113 MB / 0.67 GB Notification: Performance of SimCode: time 4.51e-07/0.6592, allocations: 0 / 0.906 GB, free: 1.113 MB / 0.67 GB Notification: Performance of Templates: time 0.04026/0.6995, allocations: 28.74 MB / 0.9341 GB, free: 4.449 MB / 0.7012 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)