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.0009254/0.0009256, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009635/0.0009634, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.645/1.645, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.000558/0.0005582, allocations: 22.16 kB / 0.6736 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2791, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003553/0.2827, allocations: 2.224 MB / 0.7893 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002278/0.2851, allocations: 1.4 MB / 0.7907 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.2852, allocations: 4 kB / 0.7907 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.2853, allocations: 27.83 kB / 0.7907 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004006/0.2858, allocations: 119.6 kB / 0.7908 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.2861, allocations: 119.6 kB / 0.7909 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.2863, allocations: 123.7 kB / 0.791 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006064/0.2869, allocations: 306.5 kB / 0.7913 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.2871, allocations: 63.77 kB / 0.7914 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.2873, allocations: 71.73 kB / 0.7915 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.2874, allocations: 8 kB / 0.7915 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.2876, allocations: 119.8 kB / 0.7916 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.437e-05/0.2877, allocations: 59.83 kB / 0.7916 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.18e-05/0.2878, allocations: 53.58 kB / 0.7917 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.2881, allocations: 251.6 kB / 0.7919 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2881, allocations: 0 / 0.7919 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2881, allocations: 0 / 0.7919 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2881, allocations: 0 / 0.7919 GB, free: 6.984 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.0007434/0.2889, allocations: 451.2 kB / 0.7924 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.2889, allocations: 8.031 kB / 0.7924 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006217/0.2896, allocations: 95.56 kB / 0.7925 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.2899, allocations: 230.4 kB / 0.7927 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.2899, allocations: 20.27 kB / 0.7927 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.29, allocations: 12 kB / 0.7927 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.2904, allocations: 327.7 kB / 0.793 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.2905, allocations: 0 / 0.793 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.2905, allocations: 12 kB / 0.793 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.042e-05/0.2905, allocations: 20.27 kB / 0.7931 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003664/0.2909, allocations: 252.6 kB / 0.7933 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.2926, allocations: 1.634 MB / 0.7949 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006052/0.2932, allocations: 411.1 kB / 0.7953 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.2933, allocations: 89.09 kB / 0.7954 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.2934, allocations: 38.56 kB / 0.7954 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 3.376e-06/0.2934, allocations: 0 / 0.7954 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0007137/0.2941, allocations: 304.7 kB / 0.7957 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.2942, allocations: 77.11 kB / 0.7958 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.2943, allocations: 179.3 kB / 0.7959 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.2944, allocations: 25.7 kB / 0.796 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.2945, allocations: 155.7 kB / 0.7961 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.2945, allocations: 51.53 kB / 0.7962 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.2945, allocations: 8 kB / 0.7962 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2947, allocations: 322.8 kB / 0.7965 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.2948, allocations: 71.95 kB / 0.7965 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.295, allocations: 157.3 kB / 0.7967 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.2952, allocations: 95.91 kB / 0.7968 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2952, allocations: 4 kB / 0.7968 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003935/0.2956, allocations: 277.2 kB / 0.7971 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004591/0.296, allocations: 0.9601 MB / 0.798 GB, free: 264 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.2961, allocations: 4 kB / 0.798 GB, free: 260 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.2961, allocations: 4 kB / 0.798 GB, free: 256 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.2963, allocations: 59.89 kB / 0.7981 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.2963, allocations: 4 kB / 0.7981 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.2965, allocations: 23.83 kB / 0.7981 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.2965, allocations: 11.98 kB / 0.7981 GB, free: 156 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.2965, allocations: 4 kB / 0.7981 GB, free: 152 kB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003127/0.2968, allocations: 203.7 kB / 0.7983 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.2969, allocations: 8.312 kB / 0.7983 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.247e-06/0.2969, allocations: 4 kB / 0.7983 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.297, allocations: 47.91 kB / 0.7983 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.2971, allocations: 4 kB / 0.7984 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.696e-05/0.2972, allocations: 19.92 kB / 0.7984 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.2972, allocations: 11.95 kB / 0.7984 GB, free: 15.86 MB / 0.6231 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.0001637/0.2974, allocations: 221.3 kB / 0.7986 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.2974, allocations: 11.81 kB / 0.7986 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/0.2978, allocations: 212.1 kB / 0.7988 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2978, allocations: 3.938 kB / 0.7988 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2978, allocations: 4 kB / 0.7988 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.2978, allocations: 0 / 0.7988 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.2991, allocations: 0.9577 MB / 0.7997 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2991, allocations: 8.094 kB / 0.7998 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.2992, allocations: 31.92 kB / 0.7998 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.2992, allocations: 4 kB / 0.7998 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.2992, allocations: 16 kB / 0.7998 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.2993, allocations: 7.984 kB / 0.7998 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.2993, allocations: 7.938 kB / 0.7998 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005391/0.2998, allocations: 0.5811 MB / 0.8004 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.2999, allocations: 112.9 kB / 0.8005 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.3, allocations: 11.98 kB / 0.8005 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.3002, allocations: 11.98 kB / 0.8005 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.3002, allocations: 27.88 kB / 0.8005 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.3002, allocations: 8 kB / 0.8006 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001298/0.3004, allocations: 127.8 kB / 0.8007 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3004, allocations: 0 / 0.8007 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004833/0.3009, allocations: 75.98 kB / 0.8007 GB, free: 13.14 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 (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.0001675/0.301, allocations: 103.2 kB / 0.8008 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004652/0.3015, allocations: 302.7 kB / 0.8011 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3015, allocations: 0 / 0.8011 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.3016, allocations: 85.58 kB / 0.8012 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.302, allocations: 38.77 kB / 0.8013 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008727/0.3028, allocations: 0.5645 MB / 0.8018 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.3033, allocations: 0.7558 MB / 0.8025 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002148/0.3035, allocations: 73.47 kB / 0.8026 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.3036, allocations: 19.42 kB / 0.8026 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.3036, allocations: 0 / 0.8026 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of Templates: time 0.004924/0.3085, allocations: 1.657 MB / 0.8043 GB, free: 9.469 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: