Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001108/0.001108, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.449/1.449, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.812/1.812, allocations: 292.3 MB / 0.5489 GB, free: 13.55 MB / 462.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.001511/0.001511, allocations: 63.84 kB / 0.6715 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2869, allocations: 114.5 MB / 0.7834 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004799/0.2918, allocations: 2.626 MB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002475/0.2943, allocations: 1.516 MB / 0.7874 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.2944, allocations: 4 kB / 0.7874 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008823/0.2954, allocations: 235.1 kB / 0.7876 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004717/0.2958, allocations: 191.2 kB / 0.7878 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.2962, allocations: 143.6 kB / 0.788 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.2965, allocations: 227.3 kB / 0.7882 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003344/0.2968, allocations: 173.8 kB / 0.7884 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.297, allocations: 107.6 kB / 0.7885 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.2972, allocations: 107.6 kB / 0.7886 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.2973, allocations: 12 kB / 0.7886 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003233/0.2976, allocations: 227.5 kB / 0.7888 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.418e-05/0.2977, allocations: 79.8 kB / 0.7889 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.608e-05/0.2978, allocations: 83.59 kB / 0.7889 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.2982, allocations: 327 kB / 0.7893 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2982, allocations: 3.938 kB / 0.7893 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2982, allocations: 4 kB / 0.7893 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.2982, allocations: 0 / 0.7893 GB, free: 7.531 MB / 0.6075 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.0006992/0.2989, allocations: 487.1 kB / 0.7897 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.299, allocations: 12.02 kB / 0.7897 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005768/0.2995, allocations: 80.59 kB / 0.7898 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.2998, allocations: 232 kB / 0.79 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2998, allocations: 12.7 kB / 0.79 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.2999, allocations: 12.38 kB / 0.7901 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.3003, allocations: 336.1 kB / 0.7904 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3004, allocations: 0 / 0.7904 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.3004, allocations: 4 kB / 0.7904 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.681e-05/0.3004, allocations: 24.27 kB / 0.7904 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003532/0.3008, allocations: 256.6 kB / 0.7906 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.3023, allocations: 1.63 MB / 0.7922 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006176/0.3029, allocations: 411.2 kB / 0.7926 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.303, allocations: 85.61 kB / 0.7927 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.3032, allocations: 89.09 kB / 0.7928 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.3032, allocations: 38.56 kB / 0.7928 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.3032, allocations: 0 / 0.7928 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0006591/0.3039, allocations: 304.6 kB / 0.7931 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.304, allocations: 89.09 kB / 0.7932 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.3041, allocations: 168.4 kB / 0.7934 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.3042, allocations: 25.7 kB / 0.7934 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.497e-05/0.3042, allocations: 151.8 kB / 0.7935 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.3043, allocations: 47.36 kB / 0.7936 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.351e-05/0.3044, allocations: 53.88 kB / 0.7936 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3045, allocations: 322.8 kB / 0.7939 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.3046, allocations: 84.75 kB / 0.794 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.3048, allocations: 157.3 kB / 0.7942 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.3051, allocations: 249.2 kB / 0.7944 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3051, allocations: 0 / 0.7944 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003826/0.3055, allocations: 280.4 kB / 0.7947 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3055, allocations: 4 kB / 0.7947 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3055, allocations: 4 kB / 0.7947 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3055, allocations: 7.938 kB / 0.7947 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.3058, allocations: 51.89 kB / 0.7947 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3058, allocations: 4 kB / 0.7948 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.3059, allocations: 24.05 kB / 0.7948 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.306, allocations: 12 kB / 0.7948 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001599/0.3061, allocations: 180 kB / 0.795 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001386/0.3063, allocations: 150.2 kB / 0.7951 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002395/0.3065, allocations: 226.1 kB / 0.7953 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.3065, allocations: 4 kB / 0.7953 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003277/0.3069, allocations: 249.2 kB / 0.7956 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.244e-06/0.3069, allocations: 4 kB / 0.7956 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-06/0.3069, allocations: 4 kB / 0.7956 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-06/0.3069, allocations: 4 kB / 0.7956 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.3071, allocations: 56.19 kB / 0.7956 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3071, allocations: 11.94 kB / 0.7956 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.3072, allocations: 11.98 kB / 0.7956 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.3072, allocations: 8 kB / 0.7957 GB, free: 420 kB / 0.6075 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 9.825e-05/0.3073, allocations: 192.2 kB / 0.7958 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.3074, allocations: 15.81 kB / 0.7959 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003417/0.3077, allocations: 215.7 kB / 0.7961 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3077, allocations: 0 / 0.7961 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3078, allocations: 0 / 0.7961 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.3078, allocations: 7.984 kB / 0.7961 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.3089, allocations: 0.9534 MB / 0.797 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3089, allocations: 7.938 kB / 0.797 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.309, allocations: 32.41 kB / 0.797 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.3091, allocations: 4 kB / 0.797 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.3091, allocations: 12 kB / 0.797 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3091, allocations: 11.94 kB / 0.7971 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3091, allocations: 3.938 kB / 0.7971 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.3094, allocations: 443.3 kB / 0.7975 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.1e-05/0.3095, allocations: 112.8 kB / 0.7976 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.3096, allocations: 4 kB / 0.7976 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.3097, allocations: 15.98 kB / 0.7976 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.3098, allocations: 19.86 kB / 0.7976 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.3098, allocations: 12 kB / 0.7976 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001023/0.3099, allocations: 139.2 kB / 0.7978 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3099, allocations: 0 / 0.7978 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004776/0.3104, allocations: 72 kB / 0.7978 GB, free: 13.96 MB / 0.6231 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.0001316/0.3105, allocations: 103.2 kB / 0.7979 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004412/0.311, allocations: 308.7 kB / 0.7982 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.311, allocations: 4 kB / 0.7982 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.3111, allocations: 83.81 kB / 0.7983 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.3116, allocations: 37.02 kB / 0.7984 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007511/0.3124, allocations: 489.5 kB / 0.7988 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.3127, allocations: 0.7518 MB / 0.7996 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002054/0.3129, allocations: 81.5 kB / 0.7996 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.99e-05/0.3129, allocations: 15.44 kB / 0.7997 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.313, allocations: 4 kB / 0.7997 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of Templates: time 0.004366/0.3173, allocations: 1.787 MB / 0.8014 GB, free: 10.25 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)