Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.601/1.601, allocations: 288.4 MB / 303.7 MB, free: 8.031 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009884/0.0009885, allocations: 172.5 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.4 MB / 0.631 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008078/0.0008078, allocations: 90.3 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004543/0.0004544, allocations: 15.41 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2628, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.00284/0.2657, allocations: 2.255 MB / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.2675, allocations: 1.412 MB / 0.9837 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.2676, allocations: 0 / 0.9837 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.2679, allocations: 27.78 kB / 0.9837 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004499/0.2683, allocations: 171.4 kB / 0.9839 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.2687, allocations: 129.6 kB / 0.984 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.2689, allocations: 271.2 kB / 0.9843 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005228/0.2695, allocations: 335.1 kB / 0.9846 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.2696, allocations: 83.69 kB / 0.9847 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.2698, allocations: 107.6 kB / 0.9848 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.2698, allocations: 4 kB / 0.9848 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.2702, allocations: 263.4 kB / 0.985 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.218e-05/0.2702, allocations: 63.84 kB / 0.9851 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.545e-05/0.2703, allocations: 101.3 kB / 0.9852 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.2706, allocations: 247.4 kB / 0.9854 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2706, allocations: 0 / 0.9854 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2706, allocations: 0 / 0.9854 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2706, allocations: 0 / 0.9854 GB, free: 21.87 MB / 0.6198 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.0005684/0.2712, allocations: 464.2 kB / 0.9859 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2712, allocations: 8.031 kB / 0.9859 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005413/0.2718, allocations: 88.56 kB / 0.986 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.272, allocations: 232 kB / 0.9862 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.272, allocations: 16.69 kB / 0.9862 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.2721, allocations: 16.36 kB / 0.9862 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.2725, allocations: 324.1 kB / 0.9865 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.2725, allocations: 4 kB / 0.9865 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.2725, allocations: 4 kB / 0.9865 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.62e-05/0.2726, allocations: 24.27 kB / 0.9866 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/0.2729, allocations: 252.6 kB / 0.9868 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.2741, allocations: 1.63 MB / 0.9884 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005221/0.2747, allocations: 411.2 kB / 0.9888 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.2748, allocations: 89.59 kB / 0.9889 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.2749, allocations: 89.11 kB / 0.989 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.2749, allocations: 30.56 kB / 0.989 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.2749, allocations: 4 kB / 0.989 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0005633/0.2755, allocations: 308.6 kB / 0.9893 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.2756, allocations: 89.05 kB / 0.9894 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.2757, allocations: 169.2 kB / 0.9895 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.2757, allocations: 25.7 kB / 0.9896 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.2758, allocations: 147.8 kB / 0.9897 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.2758, allocations: 47.36 kB / 0.9897 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-06/0.2758, allocations: 4.188 kB / 0.9897 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.957e-05/0.2759, allocations: 326.8 kB / 0.9901 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.291e-05/0.276, allocations: 79.89 kB / 0.9901 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.2761, allocations: 147.1 kB / 0.9903 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.2764, allocations: 246.2 kB / 0.9905 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2764, allocations: 4 kB / 0.9905 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002983/0.2767, allocations: 270.5 kB / 0.9908 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.364e-05/0.2768, allocations: 165.8 kB / 0.9909 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2768, allocations: 7.938 kB / 0.9909 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.2768, allocations: 4 kB / 0.9909 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.277, allocations: 51.91 kB / 0.991 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.277, allocations: 7.938 kB / 0.991 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.2772, allocations: 23.91 kB / 0.991 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.2772, allocations: 8 kB / 0.991 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.18e-06/0.2772, allocations: 4 kB / 0.991 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002407/0.2774, allocations: 213.4 kB / 0.9912 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-06/0.2775, allocations: 0 / 0.9912 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-06/0.2775, allocations: 4 kB / 0.9912 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.2777, allocations: 47.97 kB / 0.9913 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.2777, allocations: 7.938 kB / 0.9913 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.2778, allocations: 19.83 kB / 0.9913 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.2778, allocations: 8.359 kB / 0.9913 GB, free: 15.33 MB / 0.6198 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.0001173/0.278, allocations: 233 kB / 0.9915 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.278, allocations: 15.89 kB / 0.9916 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.2783, allocations: 203.6 kB / 0.9918 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2783, allocations: 4 kB / 0.9918 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2783, allocations: 3.938 kB / 0.9918 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2783, allocations: 4 kB / 0.9918 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009251/0.2793, allocations: 0.969 MB / 0.9927 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2793, allocations: 4 kB / 0.9927 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.2794, allocations: 31.97 kB / 0.9927 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.2794, allocations: 4 kB / 0.9927 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.2794, allocations: 8 kB / 0.9928 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2795, allocations: 8.375 kB / 0.9928 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2795, allocations: 4 kB / 0.9928 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.2797, allocations: 440.8 kB / 0.9932 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.272e-05/0.2798, allocations: 104.9 kB / 0.9933 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.2799, allocations: 15.98 kB / 0.9933 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.28, allocations: 11.98 kB / 0.9933 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-05/0.2801, allocations: 27.8 kB / 0.9933 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.2801, allocations: 8 kB / 0.9934 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.25e-05/0.2802, allocations: 131.8 kB / 0.9935 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2802, allocations: 0 / 0.9935 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004423/0.2806, allocations: 75.98 kB / 0.9935 GB, free: 12.85 MB / 0.6198 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.0001509/0.2808, allocations: 111.2 kB / 0.9937 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003707/0.2812, allocations: 297.2 kB / 0.9939 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2812, allocations: 0 / 0.9939 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.921e-05/0.2813, allocations: 84.08 kB / 0.994 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/0.2818, allocations: 39.84 kB / 0.9941 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007024/0.2825, allocations: 0.5652 MB / 0.9946 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.2827, allocations: 0.7441 MB / 0.9953 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001897/0.2829, allocations: 73.47 kB / 0.9954 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/0.2829, allocations: 23.44 kB / 0.9954 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.283, allocations: 0 / 0.9954 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of Templates: time 0.003821/0.2868, allocations: 1.682 MB / 0.9971 GB, free: 9.184 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)