Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.788/4.788, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002364/0.002363, allocations: 358.8 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.279/4.279, allocations: 410.7 MB / 1.112 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00177/0.001769, allocations: 171.7 kB / 1.225 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004867, allocations: 12 kB / 1.348 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.58/0.5806, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002751/0.5833, allocations: 2.245 MB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002109/0.5855, allocations: 1.41 MB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.859e-05/0.5856, allocations: 1.062 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.5858, allocations: 27.78 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003955/0.5862, allocations: 136.4 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.5865, allocations: 117.1 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.5868, allocations: 272.8 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005921/0.5875, allocations: 301.6 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.5876, allocations: 88.58 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.5879, allocations: 108.4 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.5879, allocations: 4 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.5882, allocations: 123.8 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.542e-05/0.5883, allocations: 65.77 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.5883, allocations: 53.64 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.5886, allocations: 237.5 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.5886, allocations: 3.938 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.163e-06/0.5886, allocations: 0 / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.128e-06/0.5887, allocations: 0.5625 kB / 1.466 GB, free: 279.2 MB / 0.8542 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.0005773/0.5892, allocations: 466 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.5893, allocations: 15.56 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007415/0.59, allocations: 95.56 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.5903, allocations: 226.6 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.5903, allocations: 16.33 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.5904, allocations: 16.98 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/0.5909, allocations: 313.3 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.5909, allocations: 4.406 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.591, allocations: 13.48 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/0.591, allocations: 24.27 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004364/0.5915, allocations: 253.3 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.593, allocations: 1.628 MB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006378/0.5937, allocations: 420.4 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.5938, allocations: 86.81 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.594, allocations: 91.42 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.594, allocations: 34.56 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 3.144e-06/0.594, allocations: 0 / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0007225/0.5947, allocations: 297.1 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.5948, allocations: 78.77 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.595, allocations: 178.6 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.595, allocations: 25.7 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.5951, allocations: 156.6 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.5951, allocations: 51.3 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.5951, allocations: 4.875 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.887e-05/0.5952, allocations: 324.1 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.5954, allocations: 75.89 kB / 1.47 GB, free: 274 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.5955, allocations: 149.5 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.5957, allocations: 116.2 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5957, allocations: 0 / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004704/0.5962, allocations: 261 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.895e-05/0.5963, allocations: 165 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.679e-06/0.5963, allocations: 6.25 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.5963, allocations: 4 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.5967, allocations: 51.91 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.824e-06/0.5967, allocations: 4 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.5969, allocations: 24.06 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.5969, allocations: 8 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/0.597, allocations: 8.438 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003682/0.5973, allocations: 216.7 kB / 1.471 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.698e-06/0.5974, allocations: 4 kB / 1.471 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.491e-06/0.5974, allocations: 4.969 kB / 1.471 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.5976, allocations: 47.91 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.5976, allocations: 5 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.5978, allocations: 15.98 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.5978, allocations: 8 kB / 1.472 GB, free: 272.9 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.598, allocations: 229.9 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.197e-05/0.5981, allocations: 17.02 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004027/0.5985, allocations: 202.9 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.287e-06/0.5985, allocations: 4.438 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.1e-06/0.5985, allocations: 4 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.212e-06/0.5985, allocations: 0.9688 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.5999, allocations: 0.9637 MB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.079e-06/0.6, allocations: 8 kB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.6002, allocations: 35.91 kB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.6002, allocations: 4 kB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.6002, allocations: 13.41 kB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.28e-06/0.6002, allocations: 4 kB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.447e-06/0.6003, allocations: 4 kB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.6007, allocations: 436.5 kB / 1.473 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.6008, allocations: 108.9 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.6008, allocations: 11.98 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.6011, allocations: 12.73 kB / 1.474 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.6011, allocations: 22.53 kB / 1.474 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.6012, allocations: 8 kB / 1.474 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001145/0.6013, allocations: 127.2 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.43e-07/0.6013, allocations: 0 / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006976/0.602, allocations: 73.03 kB / 1.474 GB, free: 270.4 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000148/0.6022, allocations: 123.2 kB / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005411/0.6027, allocations: 299.4 kB / 1.474 GB, free: 270 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.159e-06/0.6028, allocations: 0 / 1.474 GB, free: 270 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.6029, allocations: 81.67 kB / 1.474 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000638/0.6036, allocations: 28.48 kB / 1.474 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008872/0.6045, allocations: 0.5715 MB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.6047, allocations: 0.753 MB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002648/0.605, allocations: 75.45 kB / 1.476 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.754e-05/0.6051, allocations: 20.23 kB / 1.476 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.684e-06/0.6051, allocations: 3.938 kB / 1.476 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.005384/0.6105, allocations: 1.661 MB / 1.477 GB, free: 266.9 MB / 0.8542 GB