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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.341/1.341, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 174 kB / 327.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.4 MB / 0.5786 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007808/0.0007807, allocations: 80.95 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005355/0.0005356, allocations: 12.84 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2336, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002849/0.2365, allocations: 2.329 MB / 0.9037 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002102/0.2386, allocations: 1.516 MB / 0.9052 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.2388, allocations: 8 kB / 0.9052 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.2389, allocations: 23.78 kB / 0.9052 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004823/0.2394, allocations: 179.4 kB / 0.9054 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.2398, allocations: 138 kB / 0.9055 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.2401, allocations: 347.1 kB / 0.9059 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005926/0.2407, allocations: 330.8 kB / 0.9062 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.2409, allocations: 83.69 kB / 0.9063 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.2412, allocations: 107.6 kB / 0.9064 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.2412, allocations: 8 kB / 0.9064 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003847/0.2416, allocations: 267.4 kB / 0.9066 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.607e-05/0.2417, allocations: 59.81 kB / 0.9067 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.564e-05/0.2418, allocations: 109.3 kB / 0.9068 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.2421, allocations: 247.7 kB / 0.907 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2421, allocations: 4 kB / 0.907 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2421, allocations: 0 / 0.907 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.2422, allocations: 0 / 0.907 GB, free: 57.71 MB / 0.6042 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.0006424/0.2428, allocations: 465 kB / 0.9075 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.2429, allocations: 8.031 kB / 0.9075 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005982/0.2435, allocations: 76.66 kB / 0.9076 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.2437, allocations: 228 kB / 0.9078 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.2437, allocations: 12.7 kB / 0.9078 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/0.2438, allocations: 24.36 kB / 0.9078 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/0.2442, allocations: 324.4 kB / 0.9081 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.2442, allocations: 0 / 0.9081 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.2443, allocations: 11.92 kB / 0.9081 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.88e-05/0.2443, allocations: 28.2 kB / 0.9082 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.2446, allocations: 252.6 kB / 0.9084 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.2459, allocations: 1.63 MB / 0.91 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005172/0.2464, allocations: 411.1 kB / 0.9104 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.2465, allocations: 85.67 kB / 0.9105 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.2467, allocations: 93.08 kB / 0.9106 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.2467, allocations: 34.56 kB / 0.9106 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.2467, allocations: 0 / 0.9106 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0005635/0.2473, allocations: 308.7 kB / 0.9109 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.2473, allocations: 81.11 kB / 0.911 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.2474, allocations: 174.1 kB / 0.9111 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.2474, allocations: 29.7 kB / 0.9112 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.2475, allocations: 152 kB / 0.9113 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.2475, allocations: 47.3 kB / 0.9113 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/0.2476, allocations: 7.938 kB / 0.9113 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.916e-05/0.2476, allocations: 326.8 kB / 0.9117 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-05/0.2477, allocations: 75.95 kB / 0.9117 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.2478, allocations: 154 kB / 0.9119 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.2481, allocations: 253.2 kB / 0.9121 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2481, allocations: 0 / 0.9121 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003183/0.2484, allocations: 271.9 kB / 0.9124 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-05/0.2485, allocations: 164.2 kB / 0.9125 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2485, allocations: 0 / 0.9125 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.2485, allocations: 7.984 kB / 0.9125 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.2488, allocations: 51.91 kB / 0.9126 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2488, allocations: 7.938 kB / 0.9126 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.2489, allocations: 19.89 kB / 0.9126 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.2489, allocations: 15.98 kB / 0.9126 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.543e-06/0.249, allocations: 4 kB / 0.9126 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000252/0.2492, allocations: 211.7 kB / 0.9128 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2492, allocations: 4 kB / 0.9128 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/0.2492, allocations: 0 / 0.9128 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.2494, allocations: 51.91 kB / 0.9129 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2494, allocations: 4.312 kB / 0.9129 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.2495, allocations: 23.86 kB / 0.9129 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.2495, allocations: 8 kB / 0.9129 GB, free: 51.16 MB / 0.6042 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.0001048/0.2496, allocations: 225 kB / 0.9131 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.2497, allocations: 15.81 kB / 0.9132 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/0.25, allocations: 199.8 kB / 0.9134 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.25, allocations: 4.188 kB / 0.9134 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.25, allocations: 3.938 kB / 0.9134 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2501, allocations: 7.938 kB / 0.9134 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009214/0.251, allocations: 0.965 MB / 0.9143 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.251, allocations: 4 kB / 0.9143 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.2511, allocations: 35.98 kB / 0.9143 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.2511, allocations: 8.422 kB / 0.9144 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.2512, allocations: 8 kB / 0.9144 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2512, allocations: 7.938 kB / 0.9144 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2512, allocations: 4 kB / 0.9144 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.2515, allocations: 439.9 kB / 0.9148 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.972e-05/0.2515, allocations: 112.9 kB / 0.9149 GB, free: 48.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.2516, allocations: 11.98 kB / 0.9149 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.2518, allocations: 11.98 kB / 0.9149 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.2518, allocations: 23.86 kB / 0.9149 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.2518, allocations: 8 kB / 0.915 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.578e-05/0.2519, allocations: 131.8 kB / 0.9151 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2519, allocations: 4 kB / 0.9151 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004419/0.2524, allocations: 72 kB / 0.9152 GB, free: 48.68 MB / 0.6042 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.0001355/0.2525, allocations: 115.1 kB / 0.9153 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.2529, allocations: 296.6 kB / 0.9155 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2529, allocations: 4.188 kB / 0.9155 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.075e-05/0.253, allocations: 79.83 kB / 0.9156 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.2535, allocations: 40.19 kB / 0.9157 GB, free: 48.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006997/0.2542, allocations: 0.5886 MB / 0.9162 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.2544, allocations: 0.7519 MB / 0.917 GB, free: 46.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.38e-05/0.2545, allocations: 19.42 kB / 0.917 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/0.2545, allocations: 0 / 0.917 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.003639/0.2581, allocations: 2.329 MB / 0.9193 GB, free: 44.38 MB / 0.6042 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)