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.001374/0.001374, allocations: 110.8 kB / 16.27 MB, free: 6.414 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.00143/0.00143, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002475/0.002475, allocations: 300.9 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9576/0.9576, allocations: 169.2 MB / 0.4988 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 94 kB / 0.5959 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.151, allocations: 86.98 MB / 0.6808 GB, free: 8.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.2782/0.4292, allocations: 17.17 MB / 0.6976 GB, free: 10.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008994/0.4382, allocations: 5.835 MB / 0.7033 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.4397, allocations: 53.84 kB / 0.7034 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00309/0.4429, allocations: 1.301 MB / 0.7046 GB, free: 6.051 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002019/0.4449, allocations: 0.8302 MB / 0.7054 GB, free: 5.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003218/0.4481, allocations: 1.342 MB / 0.7068 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004675/0.4528, allocations: 4.286 MB / 0.7109 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007827/0.4607, allocations: 6.915 MB / 0.7177 GB, free: 316 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003178/0.4639, allocations: 1.908 MB / 0.7196 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003718/0.4676, allocations: 2.279 MB / 0.7218 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008794/0.4685, allocations: 445.7 kB / 0.7222 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.4705, allocations: 0.8502 MB / 0.723 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002145/0.4727, allocations: 1.724 MB / 0.7247 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002721/0.4754, allocations: 1.762 MB / 0.7264 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006622/0.4821, allocations: 6.341 MB / 0.7326 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.4821, allocations: 0 / 0.7326 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4821, allocations: 0 / 0.7326 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001396/0.4822, allocations: 1.375 kB / 0.7326 GB, free: 8.203 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.007398/0.4896, allocations: 3.068 MB / 0.7356 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.4897, allocations: 8.562 kB / 0.7356 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005174/0.4949, allocations: 1.118 MB / 0.7367 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002829/0.4977, allocations: 1.599 MB / 0.7383 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.4979, allocations: 223.8 kB / 0.7385 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000513/0.4984, allocations: 299.6 kB / 0.7388 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008527/0.5069, allocations: 5.304 MB / 0.744 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.906e-05/0.507, allocations: 0 / 0.744 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003665/0.5074, allocations: 128 kB / 0.7441 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002336/0.5076, allocations: 205.1 kB / 0.7443 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007772/0.5154, allocations: 4.756 MB / 0.7489 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02857/0.544, allocations: 23.17 MB / 0.7716 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004563/0.5486, allocations: 3.187 MB / 0.7747 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.55, allocations: 0.9151 MB / 0.7756 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.5502, allocations: 101.7 kB / 0.7757 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.5502, allocations: 51.22 kB / 0.7757 GB, free: 11.96 MB / 0.545 GB Notification: Performance of pre-optimization done (n=82): time 2.675e-06/0.5502, allocations: 0 / 0.7757 GB, free: 11.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.003192/0.5534, allocations: 2.073 MB / 0.7777 GB, free: 9.875 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.5535, allocations: 227 kB / 0.778 GB, free: 9.605 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.555, allocations: 1.098 MB / 0.779 GB, free: 8.496 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.766e-05/0.5551, allocations: 37.7 kB / 0.7791 GB, free: 8.453 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007548/0.5559, allocations: 1.281 MB / 0.7803 GB, free: 7.152 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/0.5562, allocations: 299.9 kB / 0.7806 GB, free: 6.855 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005299/0.5567, allocations: 359 kB / 0.7809 GB, free: 6.496 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5569, allocations: 341.9 kB / 0.7813 GB, free: 6.156 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.5581, allocations: 0.8947 MB / 0.7821 GB, free: 5.258 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.5597, allocations: 1.515 MB / 0.7836 GB, free: 3.469 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002758/0.5625, allocations: 2.354 MB / 0.7859 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.5625, allocations: 4 kB / 0.7859 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003696/0.5662, allocations: 2.496 MB / 0.7884 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.5663, allocations: 12 kB / 0.7884 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.5663, allocations: 20 kB / 0.7884 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.957e-05/0.5663, allocations: 28 kB / 0.7884 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.5679, allocations: 463.1 kB / 0.7889 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.439e-05/0.568, allocations: 39.86 kB / 0.7889 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.5696, allocations: 350 kB / 0.7892 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.5697, allocations: 79.98 kB / 0.7893 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002866/0.5726, allocations: 1.905 MB / 0.7912 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001525/0.5741, allocations: 1.442 MB / 0.7926 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002539/0.5767, allocations: 2.198 MB / 0.7947 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.096e-05/0.5767, allocations: 4 kB / 0.7947 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003541/0.5803, allocations: 2.324 MB / 0.797 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.5803, allocations: 12.22 kB / 0.797 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.5803, allocations: 27.98 kB / 0.797 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/0.5804, allocations: 28 kB / 0.7971 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.5818, allocations: 439.2 kB / 0.7975 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-05/0.5819, allocations: 39.86 kB / 0.7975 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.5834, allocations: 282.5 kB / 0.7978 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.5836, allocations: 75.98 kB / 0.7979 GB, free: 4.043 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.00037/0.584, allocations: 287.6 kB / 0.7981 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003162/0.5843, allocations: 110.8 kB / 0.7982 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.5867, allocations: 1.56 MB / 0.7998 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.5867, allocations: 8 kB / 0.7998 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.5867, allocations: 4 kB / 0.7998 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.5867, allocations: 7.922 kB / 0.7998 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006738/0.5935, allocations: 4.478 MB / 0.8042 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/0.5935, allocations: 4 kB / 0.8042 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009644/0.5945, allocations: 247.6 kB / 0.8044 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.5945, allocations: 7.938 kB / 0.8044 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.485e-05/0.5945, allocations: 16 kB / 0.8044 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.5946, allocations: 11.98 kB / 0.8044 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5946, allocations: 0 / 0.8044 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.5967, allocations: 1.911 MB / 0.8063 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005591/0.5973, allocations: 327.6 kB / 0.8066 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.5975, allocations: 12 kB / 0.8066 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008979/0.5984, allocations: 123.8 kB / 0.8067 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.5985, allocations: 60.52 kB / 0.8068 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/0.5986, allocations: 23.94 kB / 0.8068 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001068/0.5997, allocations: 0.7995 MB / 0.8076 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5997, allocations: 0 / 0.8076 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003272/0.603, allocations: 1.301 MB / 0.8089 GB, free: 8.574 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.000232/0.6032, allocations: 129.1 kB / 0.809 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005187/0.6084, allocations: 3.479 MB / 0.8124 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.6084, allocations: 4.125 kB / 0.8124 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009022/0.6093, allocations: 0.6555 MB / 0.813 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.611, allocations: 207.7 kB / 0.8132 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008008/0.619, allocations: 5.043 MB / 0.8182 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002157/0.6212, allocations: 2.277 MB / 0.8204 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005236/0.6217, allocations: 115.4 kB / 0.8205 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of SimCode: time 8.21e-07/0.6217, allocations: 0 / 0.8205 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.03905/0.6608, allocations: 28.57 MB / 0.8484 GB, free: 112 kB / 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)