Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001765/0.001766, allocations: 186.6 kB / 16.25 MB, free: 6.578 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.763/1.763, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.755/1.755, allocations: 251.6 MB / 0.5089 GB, free: 3.309 MB / 414.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.001365/0.001365, allocations: 67.91 kB / 0.6218 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7108/0.7122, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004292/0.7165, allocations: 2.695 MB / 0.7266 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002462/0.719, allocations: 1.516 MB / 0.7281 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.7192, allocations: 3.938 kB / 0.7281 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007866/0.7201, allocations: 217.7 kB / 0.7283 GB, free: 8.672 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004963/0.7206, allocations: 167.4 kB / 0.7285 GB, free: 8.508 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.721, allocations: 143.7 kB / 0.7286 GB, free: 8.367 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003055/0.7213, allocations: 231.3 kB / 0.7288 GB, free: 8.141 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004046/0.7217, allocations: 192.4 kB / 0.729 GB, free: 7.953 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.7219, allocations: 95.62 kB / 0.7291 GB, free: 7.859 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.7221, allocations: 119.7 kB / 0.7292 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.7222, allocations: 16 kB / 0.7292 GB, free: 7.727 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003448/0.7225, allocations: 227.4 kB / 0.7294 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.811e-05/0.7226, allocations: 71.86 kB / 0.7295 GB, free: 7.434 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.616e-05/0.7227, allocations: 87.48 kB / 0.7296 GB, free: 7.348 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004119/0.7231, allocations: 335 kB / 0.7299 GB, free: 7.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.7231, allocations: 0 / 0.7299 GB, free: 7.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7231, allocations: 0 / 0.7299 GB, free: 7.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.7232, allocations: 4 kB / 0.7299 GB, free: 7.016 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007342/0.7239, allocations: 499 kB / 0.7304 GB, free: 6.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.724, allocations: 16.03 kB / 0.7304 GB, free: 6.465 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005898/0.7246, allocations: 80.56 kB / 0.7305 GB, free: 6.387 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.7249, allocations: 224.1 kB / 0.7307 GB, free: 6.129 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.7249, allocations: 12.69 kB / 0.7307 GB, free: 6.117 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.7249, allocations: 16.38 kB / 0.7307 GB, free: 6.102 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.7254, allocations: 324.4 kB / 0.731 GB, free: 5.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.7255, allocations: 4 kB / 0.731 GB, free: 5.746 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.7255, allocations: 7.984 kB / 0.7311 GB, free: 5.738 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/0.7255, allocations: 20.27 kB / 0.7311 GB, free: 5.719 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003567/0.7259, allocations: 252.6 kB / 0.7313 GB, free: 5.473 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.7276, allocations: 1.638 MB / 0.7329 GB, free: 3.688 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.7282, allocations: 407.2 kB / 0.7333 GB, free: 3.234 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.7283, allocations: 89.67 kB / 0.7334 GB, free: 3.141 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.7285, allocations: 89.08 kB / 0.7335 GB, free: 3.035 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.7285, allocations: 34.56 kB / 0.7335 GB, free: 2.992 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.7285, allocations: 0 / 0.7335 GB, free: 2.992 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006744/0.7292, allocations: 309 kB / 0.7338 GB, free: 2.684 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.7293, allocations: 89.23 kB / 0.7339 GB, free: 2.578 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.7294, allocations: 176.6 kB / 0.7341 GB, free: 2.395 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.7295, allocations: 29.7 kB / 0.7341 GB, free: 2.359 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.7296, allocations: 147.9 kB / 0.7342 GB, free: 2.211 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.7296, allocations: 51.3 kB / 0.7343 GB, free: 2.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.558e-05/0.7297, allocations: 45.61 kB / 0.7343 GB, free: 2.109 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.7298, allocations: 322.8 kB / 0.7346 GB, free: 1.785 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.73, allocations: 84.81 kB / 0.7347 GB, free: 1.699 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.7301, allocations: 149.4 kB / 0.7348 GB, free: 1.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.7304, allocations: 244.9 kB / 0.7351 GB, free: 1.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.7304, allocations: 12 kB / 0.7351 GB, free: 1.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003652/0.7308, allocations: 265.2 kB / 0.7353 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.7308, allocations: 10.03 kB / 0.7354 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.7309, allocations: 0 / 0.7354 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.7309, allocations: 7.938 kB / 0.7354 GB, free: 0.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.7311, allocations: 60.39 kB / 0.7354 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.7312, allocations: 8 kB / 0.7354 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.7313, allocations: 23.83 kB / 0.7354 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.7313, allocations: 11.98 kB / 0.7355 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001793/0.7315, allocations: 184 kB / 0.7356 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001484/0.7317, allocations: 145 kB / 0.7358 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002463/0.7319, allocations: 230.1 kB / 0.736 GB, free: 240 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/0.7319, allocations: 3.938 kB / 0.736 GB, free: 236 kB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003365/0.7323, allocations: 257.4 kB / 0.7362 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.7323, allocations: 4 kB / 0.7362 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.7323, allocations: 4 kB / 0.7363 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.589e-06/0.7323, allocations: 4 kB / 0.7363 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.7325, allocations: 55.84 kB / 0.7363 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.7325, allocations: 4 kB / 0.7363 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.7326, allocations: 19.83 kB / 0.7363 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.7326, allocations: 12 kB / 0.7363 GB, free: 15.87 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * Single equations (assignments): 25 * 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.0001111/0.7328, allocations: 192.4 kB / 0.7365 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/0.7328, allocations: 19.8 kB / 0.7365 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/0.7332, allocations: 199.7 kB / 0.7367 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.7332, allocations: 4 kB / 0.7367 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.7332, allocations: 0 / 0.7367 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.7332, allocations: 0 / 0.7367 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.7343, allocations: 0.9729 MB / 0.7377 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.7343, allocations: 11.92 kB / 0.7377 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.7345, allocations: 27.98 kB / 0.7377 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.7345, allocations: 4 kB / 0.7377 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.7345, allocations: 4 kB / 0.7377 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.7345, allocations: 11.92 kB / 0.7377 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.7345, allocations: 11.94 kB / 0.7378 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.7349, allocations: 434.6 kB / 0.7382 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.553e-05/0.735, allocations: 101 kB / 0.7383 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.735, allocations: 12 kB / 0.7383 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.7352, allocations: 11.98 kB / 0.7383 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.7353, allocations: 23.86 kB / 0.7383 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.7353, allocations: 8 kB / 0.7383 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001187/0.7354, allocations: 137.2 kB / 0.7385 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7354, allocations: 0 / 0.7385 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004976/0.7359, allocations: 72 kB / 0.7385 GB, free: 13.44 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (14): * Single equations (assignments): 14 * 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.0001655/0.7361, allocations: 119.1 kB / 0.7386 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004462/0.7365, allocations: 303.5 kB / 0.7389 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7366, allocations: 1.312 kB / 0.7389 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.7367, allocations: 84.39 kB / 0.739 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.7372, allocations: 42.23 kB / 0.739 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008742/0.7381, allocations: 0.5437 MB / 0.7396 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.7384, allocations: 0.748 MB / 0.7403 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001949/0.7386, allocations: 77.5 kB / 0.7404 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.7387, allocations: 23.44 kB / 0.7404 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.7387, allocations: 0 / 0.7404 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of Templates: time 0.004332/0.743, allocations: 1.787 MB / 0.7421 GB, free: 9.668 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)