Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_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.001231/0.001231, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001433/0.001433, allocations: 195.7 kB / 16.14 MB, free: 6.695 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.846/2.846, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 60.72 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4289, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004933/0.4339, allocations: 2.673 MB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002503/0.4364, allocations: 1.492 MB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.377e-05/0.4365, allocations: 0 / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006967/0.4372, allocations: 215.3 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003991/0.4377, allocations: 175.3 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.438, allocations: 139.8 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003544/0.4383, allocations: 343.1 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003675/0.4387, allocations: 177.8 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.4389, allocations: 79.77 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.4392, allocations: 123.5 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.4392, allocations: 12 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/0.4397, allocations: 271.4 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.68e-05/0.4398, allocations: 71.8 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.4399, allocations: 83.59 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.4403, allocations: 335.2 kB / 1.074 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4404, allocations: 0 / 1.074 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4404, allocations: 0 / 1.074 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.4404, allocations: 0 / 1.074 GB, free: 4.711 MB / 0.8262 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.0007835/0.4412, allocations: 491.2 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4412, allocations: 8.031 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005937/0.4418, allocations: 80.64 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.4421, allocations: 231.9 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.4421, allocations: 16.7 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.4422, allocations: 20.36 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004668/0.4426, allocations: 312.4 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.4427, allocations: 8 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.4427, allocations: 8 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.86e-05/0.4427, allocations: 16.27 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003833/0.4431, allocations: 256.5 kB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.4447, allocations: 1.642 MB / 1.077 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006298/0.4454, allocations: 407.2 kB / 1.077 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.4455, allocations: 89.66 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/0.4457, allocations: 97.03 kB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.4457, allocations: 34.55 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.804e-06/0.4457, allocations: 0 / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0006716/0.4464, allocations: 313 kB / 1.077 GB, free: 376 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.4465, allocations: 77.11 kB / 1.077 GB, free: 280 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.4466, allocations: 175.3 kB / 1.078 GB, free: 96 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.4467, allocations: 33.89 kB / 1.078 GB, free: 56 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.4468, allocations: 151.8 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.4468, allocations: 43.3 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.486e-05/0.4469, allocations: 49.7 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.447, allocations: 327 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.4472, allocations: 84.75 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.4474, allocations: 162.6 kB / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.4477, allocations: 240.6 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4477, allocations: 3.938 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003994/0.4481, allocations: 281.1 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.4481, allocations: 4 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.4481, allocations: 4 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.4482, allocations: 7.938 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.4484, allocations: 59.89 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.4484, allocations: 4 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.4486, allocations: 16.3 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.4486, allocations: 16 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001716/0.4488, allocations: 172.1 kB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001534/0.4489, allocations: 147.5 kB / 1.079 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002639/0.4492, allocations: 230.1 kB / 1.08 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/0.4492, allocations: 0 / 1.08 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003663/0.4496, allocations: 249.5 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.4496, allocations: 12.03 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.4496, allocations: 160 / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.147e-06/0.4496, allocations: 4 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.4498, allocations: 59.83 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.4498, allocations: 11.92 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.45, allocations: 19.92 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.45, allocations: 12 kB / 1.08 GB, free: 13.55 MB / 0.8419 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.0001141/0.4501, allocations: 188.2 kB / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.4502, allocations: 11.81 kB / 1.08 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.4505, allocations: 207.7 kB / 1.08 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.4505, allocations: 0 / 1.08 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4506, allocations: 4 kB / 1.08 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4506, allocations: 0 / 1.08 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.4517, allocations: 0.9693 MB / 1.081 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.4517, allocations: 0 / 1.081 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.4519, allocations: 39.91 kB / 1.081 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.4519, allocations: 8.047 kB / 1.081 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.4519, allocations: 7.984 kB / 1.081 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.4519, allocations: 7.938 kB / 1.081 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4519, allocations: 7.938 kB / 1.081 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.4523, allocations: 436.7 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.978e-05/0.4524, allocations: 104.9 kB / 1.082 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.4525, allocations: 11.98 kB / 1.082 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.4526, allocations: 11.98 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.4527, allocations: 27.86 kB / 1.082 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.4527, allocations: 12 kB / 1.082 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000103/0.4528, allocations: 132.4 kB / 1.082 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4528, allocations: 0 / 1.082 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004983/0.4533, allocations: 76 kB / 1.082 GB, free: 11.12 MB / 0.8419 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.0001419/0.4535, allocations: 120.8 kB / 1.082 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004358/0.4539, allocations: 299.5 kB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4539, allocations: 0 / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.454, allocations: 81.27 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.4545, allocations: 43.66 kB / 1.083 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007862/0.4553, allocations: 0.5408 MB / 1.083 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.4557, allocations: 0.748 MB / 1.084 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002079/0.4559, allocations: 77.47 kB / 1.084 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.456, allocations: 19.42 kB / 1.084 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.456, allocations: 0 / 1.084 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of Templates: time 0.00454/0.4605, allocations: 1.737 MB / 1.086 GB, free: 7.391 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)