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.001314/0.001314, allocations: 118.6 kB / 16.37 MB, free: 5.984 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.001337/0.001337, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001961/0.001961, allocations: 284.1 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8861/0.8861, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.001661, allocations: 88.05 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1568, allocations: 86.97 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.2704/0.4273, allocations: 17.18 MB / 0.6984 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009905/0.4373, allocations: 5.848 MB / 0.7041 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.4385, allocations: 53.38 kB / 0.7041 GB, free: 6.676 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002851/0.4414, allocations: 1.296 MB / 0.7054 GB, free: 5.902 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.4436, allocations: 0.8357 MB / 0.7062 GB, free: 5.422 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.4468, allocations: 1.33 MB / 0.7075 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004984/0.4518, allocations: 4.282 MB / 0.7117 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007626/0.4594, allocations: 6.805 MB / 0.7184 GB, free: 228 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003395/0.4628, allocations: 1.918 MB / 0.7202 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003785/0.4666, allocations: 2.282 MB / 0.7225 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009212/0.4676, allocations: 445.1 kB / 0.7229 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001999/0.4696, allocations: 0.8558 MB / 0.7237 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002001/0.4716, allocations: 1.716 MB / 0.7254 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002117/0.4737, allocations: 1.76 MB / 0.7271 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005945/0.4797, allocations: 6.377 MB / 0.7333 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4797, allocations: 4 kB / 0.7333 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4797, allocations: 0 / 0.7333 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001047/0.4798, allocations: 1 kB / 0.7333 GB, free: 7.977 MB / 0.4981 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.005942/0.4857, allocations: 3.073 MB / 0.7363 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.4858, allocations: 9.188 kB / 0.7364 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00483/0.4906, allocations: 1.122 MB / 0.7375 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003772/0.4944, allocations: 1.631 MB / 0.739 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.4946, allocations: 224.7 kB / 0.7393 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004882/0.4951, allocations: 295.1 kB / 0.7395 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0079/0.503, allocations: 5.311 MB / 0.7447 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.84e-05/0.503, allocations: 0 / 0.7447 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003413/0.5034, allocations: 124 kB / 0.7448 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002237/0.5036, allocations: 205.1 kB / 0.745 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007217/0.5108, allocations: 4.752 MB / 0.7497 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02612/0.537, allocations: 23 MB / 0.7721 GB, free: 248 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004087/0.5411, allocations: 3.183 MB / 0.7753 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.5423, allocations: 0.9212 MB / 0.7762 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.5424, allocations: 113.6 kB / 0.7763 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.5425, allocations: 47.22 kB / 0.7763 GB, free: 11.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=82): time 2.464e-06/0.5425, allocations: 0 / 0.7763 GB, free: 11.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.002947/0.5454, allocations: 2.073 MB / 0.7783 GB, free: 9.582 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.727e-05/0.5455, allocations: 222.2 kB / 0.7785 GB, free: 9.316 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.5468, allocations: 1.091 MB / 0.7796 GB, free: 8.215 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.957e-05/0.5469, allocations: 45.7 kB / 0.7797 GB, free: 8.164 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006913/0.5476, allocations: 1.285 MB / 0.7809 GB, free: 6.859 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/0.5478, allocations: 303.9 kB / 0.7812 GB, free: 6.559 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004883/0.5483, allocations: 351.1 kB / 0.7815 GB, free: 6.207 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.5484, allocations: 341.9 kB / 0.7819 GB, free: 5.867 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.5496, allocations: 0.8908 MB / 0.7827 GB, free: 4.973 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.5512, allocations: 1.519 MB / 0.7842 GB, free: 3.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002607/0.5538, allocations: 2.354 MB / 0.7865 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.5538, allocations: 8 kB / 0.7865 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003375/0.5572, allocations: 2.484 MB / 0.7889 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.5573, allocations: 18.88 kB / 0.789 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.5573, allocations: 20 kB / 0.789 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.821e-05/0.5573, allocations: 28 kB / 0.789 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.5588, allocations: 467.2 kB / 0.7895 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.239e-05/0.5589, allocations: 35.86 kB / 0.7895 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.5602, allocations: 353.9 kB / 0.7898 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.5604, allocations: 79.98 kB / 0.7899 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002879/0.5632, allocations: 1.897 MB / 0.7918 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001448/0.5647, allocations: 1.438 MB / 0.7932 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002367/0.5671, allocations: 2.202 MB / 0.7953 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.02e-05/0.5671, allocations: 8 kB / 0.7953 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003137/0.5703, allocations: 2.324 MB / 0.7976 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.5703, allocations: 16 kB / 0.7976 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.5703, allocations: 16 kB / 0.7976 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/0.5703, allocations: 36.75 kB / 0.7977 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.5717, allocations: 439.2 kB / 0.7981 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.361e-05/0.5717, allocations: 43.84 kB / 0.7981 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.5731, allocations: 282.5 kB / 0.7984 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.5732, allocations: 75.98 kB / 0.7985 GB, free: 3.754 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.000353/0.5735, allocations: 291.6 kB / 0.7987 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/0.5738, allocations: 98.78 kB / 0.7988 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/0.5761, allocations: 1.56 MB / 0.8003 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.5761, allocations: 12 kB / 0.8004 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.5761, allocations: 0 / 0.8004 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.5761, allocations: 11.92 kB / 0.8004 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006741/0.5829, allocations: 4.47 MB / 0.8047 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.5829, allocations: 3.938 kB / 0.8047 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000925/0.5838, allocations: 251.5 kB / 0.805 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.5838, allocations: 8 kB / 0.805 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-05/0.5839, allocations: 16 kB / 0.805 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.5839, allocations: 8 kB / 0.805 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5839, allocations: 4 kB / 0.805 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.586, allocations: 1.912 MB / 0.8069 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006318/0.5866, allocations: 315.7 kB / 0.8072 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.5868, allocations: 23.91 kB / 0.8072 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008286/0.5876, allocations: 115.8 kB / 0.8073 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.5878, allocations: 60.52 kB / 0.8074 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.855e-05/0.5879, allocations: 20 kB / 0.8074 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001054/0.5889, allocations: 0.8035 MB / 0.8082 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5889, allocations: 0 / 0.8082 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003074/0.592, allocations: 1.302 MB / 0.8094 GB, free: 8.301 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.0001979/0.5922, allocations: 119.1 kB / 0.8096 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003982/0.5962, allocations: 2.979 MB / 0.8125 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.5962, allocations: 4 kB / 0.8125 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008293/0.5971, allocations: 0.664 MB / 0.8131 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.5984, allocations: 207.4 kB / 0.8133 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006568/0.605, allocations: 4.498 MB / 0.8177 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002086/0.6071, allocations: 2.21 MB / 0.8199 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002097/0.6092, allocations: 1.113 MB / 0.821 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.6095, allocations: 91.41 kB / 0.821 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.6095, allocations: 0 / 0.821 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of Templates: time 0.02511/0.6346, allocations: 15.84 MB / 0.8365 GB, free: 12.64 MB / 0.6075 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)