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.001321/0.001321, allocations: 109.2 kB / 15.99 MB, free: 6.355 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.001293/0.001293, allocations: 192.5 kB / 16.91 MB, free: 6.188 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.241/1.241, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002027/0.002027, allocations: 285.8 kB / 291 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8972/0.8972, allocations: 169.2 MB / 0.4985 GB, free: 4.66 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 102.3 kB / 0.5954 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1688, allocations: 86.97 MB / 0.6803 GB, free: 8.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.3238/0.4926, allocations: 17.06 MB / 0.6969 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008841/0.5015, allocations: 5.797 MB / 0.7026 GB, free: 7.164 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/0.5034, allocations: 45.09 kB / 0.7026 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003383/0.5068, allocations: 1.214 MB / 0.7038 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.5092, allocations: 0.7689 MB / 0.7046 GB, free: 6.016 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003513/0.5128, allocations: 1.222 MB / 0.7058 GB, free: 5.316 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006239/0.519, allocations: 4.3 MB / 0.71 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01173/0.5308, allocations: 8.149 MB / 0.7179 GB, free: 64 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003966/0.5348, allocations: 1.928 MB / 0.7198 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004622/0.5395, allocations: 2.402 MB / 0.7222 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001348/0.5409, allocations: 446 kB / 0.7226 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002366/0.5432, allocations: 0.8471 MB / 0.7234 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003117/0.5464, allocations: 1.719 MB / 0.7251 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003782/0.5502, allocations: 1.758 MB / 0.7268 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006578/0.5568, allocations: 5.509 MB / 0.7322 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.5568, allocations: 5.188 kB / 0.7322 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.815e-06/0.5568, allocations: 0 / 0.7322 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002035/0.557, allocations: 0 / 0.7322 GB, free: 8.57 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.009039/0.5661, allocations: 3.072 MB / 0.7352 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.5661, allocations: 8.156 kB / 0.7352 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005156/0.5713, allocations: 1.115 MB / 0.7363 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003752/0.5751, allocations: 1.603 MB / 0.7379 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.5753, allocations: 224.5 kB / 0.7381 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/0.5766, allocations: 298.2 kB / 0.7384 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01128/0.5879, allocations: 5.3 MB / 0.7435 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-05/0.588, allocations: 7.984 kB / 0.7435 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004444/0.5885, allocations: 124 kB / 0.7437 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002323/0.5887, allocations: 209.1 kB / 0.7439 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008494/0.5972, allocations: 4.756 MB / 0.7485 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02757/0.6248, allocations: 23.18 MB / 0.7711 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004354/0.6292, allocations: 3.199 MB / 0.7743 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.6305, allocations: 0.907 MB / 0.7751 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.6307, allocations: 113.7 kB / 0.7752 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.6307, allocations: 47.22 kB / 0.7753 GB, free: 12.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=82): time 2.855e-06/0.6307, allocations: 0 / 0.7753 GB, free: 12.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.003147/0.6339, allocations: 2.066 MB / 0.7773 GB, free: 10.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.817e-05/0.634, allocations: 227 kB / 0.7775 GB, free: 9.934 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.6354, allocations: 1.106 MB / 0.7786 GB, free: 8.816 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-05/0.6355, allocations: 41.7 kB / 0.7786 GB, free: 8.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007201/0.6362, allocations: 1.277 MB / 0.7799 GB, free: 7.473 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.6364, allocations: 303.9 kB / 0.7802 GB, free: 7.172 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004895/0.6369, allocations: 351.1 kB / 0.7805 GB, free: 6.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.6371, allocations: 341.9 kB / 0.7808 GB, free: 6.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.6383, allocations: 0.8947 MB / 0.7817 GB, free: 5.582 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.6399, allocations: 1.507 MB / 0.7832 GB, free: 3.801 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002803/0.6427, allocations: 2.362 MB / 0.7855 GB, free: 1.176 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.516e-05/0.6428, allocations: 4 kB / 0.7855 GB, free: 1.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00376/0.6465, allocations: 2.492 MB / 0.7879 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.6466, allocations: 12 kB / 0.7879 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/0.6466, allocations: 20 kB / 0.788 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.654e-05/0.6467, allocations: 31.98 kB / 0.788 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.6482, allocations: 455.2 kB / 0.7884 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.02e-05/0.6483, allocations: 39.92 kB / 0.7885 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.6499, allocations: 365.8 kB / 0.7888 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.65, allocations: 79.98 kB / 0.7889 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002967/0.653, allocations: 1.897 MB / 0.7907 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001537/0.6545, allocations: 1.442 MB / 0.7922 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00249/0.657, allocations: 2.202 MB / 0.7943 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.037e-06/0.657, allocations: 4 kB / 0.7943 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003396/0.6604, allocations: 2.324 MB / 0.7966 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.6605, allocations: 14.19 kB / 0.7966 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.6605, allocations: 24.09 kB / 0.7966 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/0.6605, allocations: 28 kB / 0.7966 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.662, allocations: 443.2 kB / 0.7971 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.411e-05/0.662, allocations: 39.86 kB / 0.7971 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.6635, allocations: 282.5 kB / 0.7974 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.6636, allocations: 75.98 kB / 0.7974 GB, free: 4.371 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.0004093/0.6641, allocations: 291.6 kB / 0.7977 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/0.6644, allocations: 98.88 kB / 0.7978 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/0.6667, allocations: 1.556 MB / 0.7993 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.6668, allocations: 11.94 kB / 0.7993 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.6668, allocations: 4 kB / 0.7994 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.6668, allocations: 7.922 kB / 0.7994 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006555/0.6733, allocations: 4.482 MB / 0.8037 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.6734, allocations: 4 kB / 0.8037 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000978/0.6744, allocations: 247.6 kB / 0.804 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.6744, allocations: 11.98 kB / 0.804 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/0.6745, allocations: 16 kB / 0.804 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.6745, allocations: 11.94 kB / 0.804 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.6745, allocations: 3.938 kB / 0.804 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.6766, allocations: 1.911 MB / 0.8059 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004792/0.6771, allocations: 323.6 kB / 0.8062 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.6772, allocations: 19.98 kB / 0.8062 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000885/0.6781, allocations: 115.8 kB / 0.8063 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.6783, allocations: 60.52 kB / 0.8064 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/0.6783, allocations: 20 kB / 0.8064 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001/0.6793, allocations: 0.7995 MB / 0.8072 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6794, allocations: 3.938 kB / 0.8072 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003113/0.6825, allocations: 1.305 MB / 0.8085 GB, free: 8.902 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.0001919/0.6827, allocations: 119.1 kB / 0.8086 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004996/0.6877, allocations: 3.475 MB / 0.812 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6877, allocations: 320 / 0.812 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008783/0.6886, allocations: 0.6633 MB / 0.8126 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.6902, allocations: 207.3 kB / 0.8128 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00886/0.6991, allocations: 6.243 MB / 0.8189 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/0.7013, allocations: 2.285 MB / 0.8211 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005453/0.7019, allocations: 107.4 kB / 0.8212 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.7019, allocations: 0 / 0.8212 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of Templates: time 0.04108/0.7429, allocations: 28.59 MB / 0.8492 GB, free: 15.23 MB / 0.6231 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)