Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.356/2.356, allocations: 391.2 MB / 407 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00155/0.001549, allocations: 190.8 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 222.9 MB / 0.7948 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001165, allocations: 115.5 kB / 0.9329 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 52.88 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2848, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003893/0.2887, allocations: 2.679 MB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002211/0.291, allocations: 1.48 MB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.2912, allocations: 7.938 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.000761/0.292, allocations: 211.3 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0004697/0.2925, allocations: 171.4 kB / 1.223 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.2929, allocations: 139.8 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003767/0.2933, allocations: 347 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003827/0.2937, allocations: 169.9 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.2939, allocations: 87.69 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.2941, allocations: 115.6 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.2942, allocations: 12 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/0.2946, allocations: 279.4 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.443e-05/0.2947, allocations: 67.8 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.65e-05/0.2948, allocations: 91.53 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005559/0.2953, allocations: 329.1 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2954, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2954, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.2954, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 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.0007963/0.2962, allocations: 491.2 kB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.2962, allocations: 11.98 kB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006228/0.2969, allocations: 76.66 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.2971, allocations: 246.8 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.2972, allocations: 12.7 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.2972, allocations: 16.38 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.2976, allocations: 328.7 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.2977, allocations: 4 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.2977, allocations: 8 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.755e-05/0.2977, allocations: 24.27 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/0.298, allocations: 252.6 kB / 1.226 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.2994, allocations: 1.634 MB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005376/0.3, allocations: 407.2 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3001, allocations: 85.67 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.3002, allocations: 93.31 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.3003, allocations: 38.44 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.3003, allocations: 4 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=14): time 0.0005787/0.3008, allocations: 304.5 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.3009, allocations: 77.11 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.301, allocations: 173.8 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.301, allocations: 25.89 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.931e-05/0.3011, allocations: 155.8 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.3011, allocations: 51.28 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.474e-05/0.3012, allocations: 53.61 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.683e-05/0.3013, allocations: 322.8 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.3014, allocations: 84.75 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.3015, allocations: 158.8 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.3018, allocations: 249.2 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3018, allocations: 0 / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003288/0.3021, allocations: 269.2 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3021, allocations: 4.781 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3021, allocations: 4 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3022, allocations: 11.92 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.3024, allocations: 51.91 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3024, allocations: 4 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.3025, allocations: 19.89 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.3026, allocations: 20.3 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001353/0.3027, allocations: 176.1 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001047/0.3028, allocations: 139.3 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002021/0.303, allocations: 237.8 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.303, allocations: 0 / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000329/0.3034, allocations: 245.2 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.3034, allocations: 8.344 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.3034, allocations: 8 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/0.3034, allocations: 4 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.3036, allocations: 52.03 kB / 1.23 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3036, allocations: 8 kB / 1.23 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.3037, allocations: 23.83 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.3037, allocations: 11.94 kB / 1.231 GB, free: 104 MB / 0.823 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 7.774e-05/0.3038, allocations: 201.4 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.3039, allocations: 7.906 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.3042, allocations: 211.6 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3042, allocations: 4 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3042, allocations: 0 / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3042, allocations: 0 / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009494/0.3051, allocations: 0.9616 MB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3052, allocations: 0 / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.3053, allocations: 35.92 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.3053, allocations: 4 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.3053, allocations: 8 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3053, allocations: 7.984 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.3053, allocations: 11.88 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000506/0.3059, allocations: 1.069 MB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.526e-05/0.3059, allocations: 112.8 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.306, allocations: 15.98 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.3062, allocations: 15.97 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.3062, allocations: 23.92 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.3062, allocations: 4 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 8.21e-05/0.3063, allocations: 144.7 kB / 1.233 GB, free: 100.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3063, allocations: 0 / 1.233 GB, free: 100.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006715/0.307, allocations: 68 kB / 1.233 GB, free: 100.9 MB / 0.823 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.0001531/0.3071, allocations: 111.2 kB / 1.233 GB, free: 100.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003874/0.3075, allocations: 303.5 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3076, allocations: 0 / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.17e-05/0.3077, allocations: 85.89 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.3081, allocations: 33.73 kB / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007651/0.3089, allocations: 0.6805 MB / 1.235 GB, free: 99.56 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.3091, allocations: 0.7557 MB / 1.235 GB, free: 98.78 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001958/0.3093, allocations: 77.47 kB / 1.235 GB, free: 98.71 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.111e-05/0.3094, allocations: 23.42 kB / 1.235 GB, free: 98.68 MB / 0.823 GB Notification: Performance of SimCode: time 1.644e-06/0.3094, allocations: 0 / 1.235 GB, free: 98.68 MB / 0.823 GB Notification: Performance of Templates: time 0.004077/0.3134, allocations: 1.787 MB / 1.237 GB, free: 96.91 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)