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.001134/0.001134, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001232/0.001232, allocations: 198.5 kB / 16.14 MB, free: 6.762 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.373/1.373, allocations: 205.1 MB / 222 MB, free: 5.008 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.736/1.736, allocations: 292.2 MB / 0.5484 GB, free: 13.7 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.001389/0.001389, allocations: 63.89 kB / 0.6708 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2554, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004156/0.2596, allocations: 2.683 MB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002301/0.262, allocations: 1.532 MB / 0.7868 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.2621, allocations: 3.938 kB / 0.7868 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007062/0.2628, allocations: 211.3 kB / 0.787 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004079/0.2632, allocations: 175.4 kB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.2636, allocations: 135.7 kB / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.264, allocations: 351.1 kB / 0.7876 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003367/0.2643, allocations: 166.2 kB / 0.7878 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.2645, allocations: 87.62 kB / 0.7879 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.2647, allocations: 115.6 kB / 0.788 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.2648, allocations: 12 kB / 0.788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004412/0.2652, allocations: 279.4 kB / 0.7883 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.524e-05/0.2653, allocations: 67.81 kB / 0.7883 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.71e-05/0.2654, allocations: 79.59 kB / 0.7884 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004207/0.2658, allocations: 342.9 kB / 0.7887 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2658, allocations: 0 / 0.7887 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.216e-06/0.2658, allocations: 0 / 0.7887 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2659, allocations: 3.938 kB / 0.7887 GB, free: 7.781 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.0008167/0.2667, allocations: 487.2 kB / 0.7892 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.2667, allocations: 8.031 kB / 0.7892 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005813/0.2673, allocations: 88.55 kB / 0.7893 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.2676, allocations: 224.1 kB / 0.7895 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.2676, allocations: 12.7 kB / 0.7895 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.2677, allocations: 24.36 kB / 0.7895 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004884/0.2682, allocations: 324.1 kB / 0.7898 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.2682, allocations: 0 / 0.7898 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.2682, allocations: 11.98 kB / 0.7899 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.628e-05/0.2683, allocations: 20.2 kB / 0.7899 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/0.2686, allocations: 244.6 kB / 0.7901 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.2702, allocations: 1.63 MB / 0.7917 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000604/0.2708, allocations: 419.1 kB / 0.7921 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.271, allocations: 97.64 kB / 0.7922 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.2711, allocations: 89.09 kB / 0.7923 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.2711, allocations: 34.56 kB / 0.7923 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.2711, allocations: 0 / 0.7923 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0006283/0.2718, allocations: 308.6 kB / 0.7926 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.2718, allocations: 77.11 kB / 0.7927 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.272, allocations: 183.4 kB / 0.7929 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.272, allocations: 29.7 kB / 0.7929 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.2721, allocations: 152 kB / 0.793 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.2722, allocations: 43.36 kB / 0.7931 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.509e-05/0.2723, allocations: 57.53 kB / 0.7931 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.2724, allocations: 322.8 kB / 0.7934 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.2725, allocations: 84.81 kB / 0.7935 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.2727, allocations: 161.3 kB / 0.7937 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.273, allocations: 244.5 kB / 0.7939 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.273, allocations: 7.938 kB / 0.7939 GB, free: 2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003913/0.2734, allocations: 269.3 kB / 0.7942 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2734, allocations: 4 kB / 0.7942 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2734, allocations: 4 kB / 0.7942 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2734, allocations: 7.938 kB / 0.7942 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.2737, allocations: 55.89 kB / 0.7942 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.2737, allocations: 4.312 kB / 0.7942 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.2738, allocations: 31.77 kB / 0.7943 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.2739, allocations: 8 kB / 0.7943 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001692/0.274, allocations: 176 kB / 0.7944 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001423/0.2742, allocations: 142.2 kB / 0.7946 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000252/0.2745, allocations: 234.1 kB / 0.7948 GB, free: 1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.372e-06/0.2745, allocations: 0 / 0.7948 GB, free: 1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003473/0.2748, allocations: 249.5 kB / 0.795 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.2748, allocations: 11.98 kB / 0.7951 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/0.2748, allocations: 0 / 0.7951 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.699e-06/0.2749, allocations: 4 kB / 0.7951 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.275, allocations: 59.84 kB / 0.7951 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.2751, allocations: 4 kB / 0.7951 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.2752, allocations: 15.89 kB / 0.7951 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.2752, allocations: 12 kB / 0.7951 GB, free: 0.6445 MB / 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 0.0001172/0.2753, allocations: 188.3 kB / 0.7953 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.582e-05/0.2754, allocations: 11.91 kB / 0.7953 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.2758, allocations: 215.6 kB / 0.7955 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2758, allocations: 0 / 0.7955 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.2758, allocations: 4 kB / 0.7955 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2758, allocations: 3.984 kB / 0.7955 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.277, allocations: 0.9613 MB / 0.7965 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.277, allocations: 4 kB / 0.7965 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.2772, allocations: 31.97 kB / 0.7965 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.2772, allocations: 4 kB / 0.7965 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.2772, allocations: 8 kB / 0.7965 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.2772, allocations: 11.94 kB / 0.7965 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.2772, allocations: 7.938 kB / 0.7966 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.2777, allocations: 431.4 kB / 0.797 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.981e-05/0.2778, allocations: 116.8 kB / 0.7971 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.2778, allocations: 4 kB / 0.7971 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.278, allocations: 15.92 kB / 0.7971 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.278, allocations: 27.86 kB / 0.7971 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.2781, allocations: 8 kB / 0.7971 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001117/0.2782, allocations: 131.7 kB / 0.7973 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2782, allocations: 0 / 0.7973 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004895/0.2787, allocations: 72 kB / 0.7973 GB, free: 14.21 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.0001531/0.2788, allocations: 111.2 kB / 0.7974 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004846/0.2793, allocations: 299.5 kB / 0.7977 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2793, allocations: 0 / 0.7977 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.2795, allocations: 81.89 kB / 0.7978 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.28, allocations: 44.03 kB / 0.7978 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.2811, allocations: 0.544 MB / 0.7984 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.2815, allocations: 0.7479 MB / 0.7991 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002214/0.2817, allocations: 85.48 kB / 0.7992 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.2818, allocations: 15.44 kB / 0.7992 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of SimCode: time 7.21e-07/0.2818, allocations: 0 / 0.7992 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of Templates: time 0.004582/0.2864, allocations: 1.737 MB / 0.8009 GB, free: 10.48 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)