Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001254, allocations: 187.7 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.1 MB / 222.5 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.817/1.817, allocations: 292.3 MB / 0.549 GB, free: 12.79 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 66.5 kB / 0.6723 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2264, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02004/0.2465, allocations: 17.19 MB / 0.8009 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01033/0.2569, allocations: 5.881 MB / 0.8067 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.2585, allocations: 55.88 kB / 0.8067 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003451/0.262, allocations: 1.301 MB / 0.808 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.2642, allocations: 0.8402 MB / 0.8088 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003308/0.2676, allocations: 1.32 MB / 0.8101 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005088/0.2727, allocations: 4.287 MB / 0.8143 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007786/0.2805, allocations: 6.805 MB / 0.8209 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003192/0.2837, allocations: 1.913 MB / 0.8228 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004/0.2877, allocations: 2.287 MB / 0.825 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007016/0.2885, allocations: 444 kB / 0.8255 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.2901, allocations: 0.8545 MB / 0.8263 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001648/0.2917, allocations: 1.723 MB / 0.828 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002089/0.2938, allocations: 1.759 MB / 0.8297 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005867/0.2997, allocations: 6.373 MB / 0.8359 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2998, allocations: 4 kB / 0.8359 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2998, allocations: 0 / 0.8359 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001709/0.3, allocations: 0 / 0.8359 GB, free: 7.457 MB / 0.6544 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.00657/0.3065, allocations: 3.08 MB / 0.8389 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.3066, allocations: 8.031 kB / 0.8389 GB, free: 4.309 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005148/0.3117, allocations: 1.117 MB / 0.84 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003576/0.3153, allocations: 1.635 MB / 0.8416 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.3156, allocations: 222.4 kB / 0.8418 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009014/0.3165, allocations: 296.3 kB / 0.8421 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009501/0.326, allocations: 5.296 MB / 0.8473 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-05/0.3261, allocations: 4 kB / 0.8473 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003433/0.3264, allocations: 124 kB / 0.8474 GB, free: 11.48 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002255/0.3267, allocations: 209 kB / 0.8476 GB, free: 11.28 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007826/0.3345, allocations: 4.761 MB / 0.8523 GB, free: 6.508 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02763/0.3622, allocations: 23 MB / 0.8747 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004435/0.3666, allocations: 3.187 MB / 0.8778 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/0.3679, allocations: 0.9212 MB / 0.8787 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001645/0.3681, allocations: 113.6 kB / 0.8788 GB, free: 8.734 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.3682, allocations: 47.22 kB / 0.8789 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.675e-06/0.3682, allocations: 0 / 0.8789 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003158/0.3713, allocations: 2.07 MB / 0.8809 GB, free: 6.605 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.3714, allocations: 222.2 kB / 0.8811 GB, free: 6.336 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.3729, allocations: 1.102 MB / 0.8822 GB, free: 5.227 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.196e-05/0.373, allocations: 41.7 kB / 0.8822 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007607/0.3737, allocations: 1.281 MB / 0.8835 GB, free: 3.879 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.374, allocations: 299.9 kB / 0.8838 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005374/0.3745, allocations: 347.1 kB / 0.8841 GB, free: 3.234 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3747, allocations: 349.9 kB / 0.8844 GB, free: 2.887 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.3759, allocations: 0.8908 MB / 0.8853 GB, free: 1.992 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/0.3776, allocations: 1.507 MB / 0.8868 GB, free: 212 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002747/0.3803, allocations: 2.366 MB / 0.8891 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.3803, allocations: 7.938 kB / 0.8891 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003845/0.3842, allocations: 2.488 MB / 0.8915 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.3842, allocations: 12 kB / 0.8915 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/0.3843, allocations: 24.06 kB / 0.8916 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-05/0.3843, allocations: 28 kB / 0.8916 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.3859, allocations: 459.8 kB / 0.892 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.193e-05/0.3859, allocations: 43.8 kB / 0.8921 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.3874, allocations: 353.7 kB / 0.8924 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.3876, allocations: 79.98 kB / 0.8925 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002718/0.3903, allocations: 1.897 MB / 0.8943 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001613/0.3919, allocations: 1.438 MB / 0.8957 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002716/0.3946, allocations: 2.202 MB / 0.8979 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.083e-05/0.3947, allocations: 4 kB / 0.8979 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003859/0.3985, allocations: 2.328 MB / 0.9002 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.3986, allocations: 12.94 kB / 0.9002 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.3986, allocations: 20 kB / 0.9002 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.3986, allocations: 28 kB / 0.9002 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.4, allocations: 443.2 kB / 0.9006 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.585e-05/0.4001, allocations: 43.84 kB / 0.9007 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.4015, allocations: 286.7 kB / 0.901 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.4016, allocations: 79.98 kB / 0.901 GB, free: 0.7578 MB / 0.7169 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.0004037/0.402, allocations: 287.5 kB / 0.9013 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/0.4023, allocations: 98.88 kB / 0.9014 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/0.4047, allocations: 1.556 MB / 0.9029 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.4047, allocations: 8 kB / 0.9029 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.4047, allocations: 4 kB / 0.9029 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.4048, allocations: 7.922 kB / 0.9029 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006589/0.4114, allocations: 4.477 MB / 0.9073 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.4114, allocations: 7.938 kB / 0.9073 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000965/0.4124, allocations: 247.6 kB / 0.9076 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.4124, allocations: 4 kB / 0.9076 GB, free: 9.934 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/0.4124, allocations: 20 kB / 0.9076 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.4125, allocations: 7.938 kB / 0.9076 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4125, allocations: 0 / 0.9076 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/0.4146, allocations: 1.916 MB / 0.9095 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005458/0.4152, allocations: 323.6 kB / 0.9098 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.4153, allocations: 23.92 kB / 0.9098 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008924/0.4162, allocations: 119.8 kB / 0.9099 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.4164, allocations: 56.52 kB / 0.91 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.343e-05/0.4164, allocations: 20 kB / 0.91 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001108/0.4176, allocations: 0.8035 MB / 0.9108 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4176, allocations: 0 / 0.9108 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003449/0.421, allocations: 1.294 MB / 0.912 GB, free: 5.309 MB / 0.7325 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.0002443/0.4213, allocations: 127.1 kB / 0.9121 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004455/0.4257, allocations: 2.983 MB / 0.9151 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.4258, allocations: 0 / 0.9151 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008898/0.4267, allocations: 0.6593 MB / 0.9157 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.4282, allocations: 190.9 kB / 0.9159 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4207/0.8489, allocations: 4.506 MB / 0.9203 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002599/0.8515, allocations: 2.207 MB / 0.9224 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002279/0.8538, allocations: 1.105 MB / 0.9235 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.8541, allocations: 90.39 kB / 0.9236 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of SimCode: time 1.623e-06/0.8542, allocations: 0 / 0.9236 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.03063/0.8848, allocations: 15.85 MB / 0.9391 GB, free: 124 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)