Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.547/2.547, allocations: 251.1 MB / 266.1 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001522/0.001522, allocations: 175.9 kB / 325.6 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.516/2.516, allocations: 205.4 MB / 0.5766 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 108 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006701/0.0006708, allocations: 11.59 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2697, allocations: 106.3 MB / 0.8989 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.00336/0.2731, allocations: 2.228 MB / 0.9011 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002765/0.2759, allocations: 1.397 MB / 0.9024 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.2762, allocations: 3.938 kB / 0.9024 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.2763, allocations: 27.83 kB / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005173/0.2769, allocations: 123.5 kB / 0.9026 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005017/0.2774, allocations: 113.8 kB / 0.9027 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.2776, allocations: 135.6 kB / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006906/0.2784, allocations: 302.5 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.2785, allocations: 67.77 kB / 0.9032 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.2788, allocations: 71.73 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.2788, allocations: 8 kB / 0.9032 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003734/0.2792, allocations: 119.8 kB / 0.9034 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.944e-05/0.2793, allocations: 59.88 kB / 0.9034 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/0.2794, allocations: 57.58 kB / 0.9035 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.2798, allocations: 239.7 kB / 0.9037 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.624e-06/0.2798, allocations: 3.938 kB / 0.9037 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2798, allocations: 0 / 0.9037 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.2798, allocations: 0 / 0.9037 GB, free: 60.42 MB / 0.6042 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.0007351/0.2806, allocations: 459 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.2806, allocations: 8.031 kB / 0.9042 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009572/0.2816, allocations: 91.66 kB / 0.9042 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.2819, allocations: 230.7 kB / 0.9045 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.282, allocations: 12.33 kB / 0.9045 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/0.282, allocations: 20 kB / 0.9045 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006103/0.2826, allocations: 319.8 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.2827, allocations: 3.938 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.2827, allocations: 8 kB / 0.9048 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.582e-05/0.2828, allocations: 24.22 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005493/0.2833, allocations: 248.6 kB / 0.9051 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.2852, allocations: 1.638 MB / 0.9067 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009354/0.2862, allocations: 407.2 kB / 0.9071 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001612/0.2864, allocations: 93.11 kB / 0.9071 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.2864, allocations: 30.56 kB / 0.9072 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.385e-06/0.2864, allocations: 0 / 0.9072 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0008678/0.2873, allocations: 304.7 kB / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.2873, allocations: 81.05 kB / 0.9075 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.2875, allocations: 172 kB / 0.9077 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.2876, allocations: 29.7 kB / 0.9077 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/0.2877, allocations: 152 kB / 0.9079 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.2877, allocations: 55.28 kB / 0.9079 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.652e-05/0.2877, allocations: 4.188 kB / 0.9079 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.509e-05/0.2878, allocations: 326.8 kB / 0.9082 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.288, allocations: 75.89 kB / 0.9083 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.2882, allocations: 154 kB / 0.9085 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.2885, allocations: 95.89 kB / 0.9086 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2885, allocations: 8 kB / 0.9086 GB, free: 55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005771/0.2891, allocations: 267.6 kB / 0.9088 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001904/0.2893, allocations: 0.964 MB / 0.9098 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.2893, allocations: 4 kB / 0.9098 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.2893, allocations: 8 kB / 0.9098 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.2898, allocations: 51.91 kB / 0.9098 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.2898, allocations: 7.984 kB / 0.9098 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.2901, allocations: 15.98 kB / 0.9098 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.2901, allocations: 8 kB / 0.9099 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/0.2901, allocations: 4 kB / 0.9099 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004406/0.2906, allocations: 208 kB / 0.9101 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2906, allocations: 4 kB / 0.9101 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.703e-06/0.2906, allocations: 4 kB / 0.9101 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.2909, allocations: 47.91 kB / 0.9101 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.2909, allocations: 15.92 kB / 0.9101 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.2911, allocations: 15.91 kB / 0.9101 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.2912, allocations: 12 kB / 0.9101 GB, free: 53.3 MB / 0.6042 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.0001757/0.2913, allocations: 228.9 kB / 0.9104 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/0.2914, allocations: 12 kB / 0.9104 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004902/0.2919, allocations: 207.7 kB / 0.9106 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.2919, allocations: 4 kB / 0.9106 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.292, allocations: 3.953 kB / 0.9106 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.292, allocations: 0 / 0.9106 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.2936, allocations: 0.9654 MB / 0.9115 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.2936, allocations: 4 kB / 0.9115 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.2939, allocations: 35.91 kB / 0.9116 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/0.2939, allocations: 8 kB / 0.9116 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.2939, allocations: 4 kB / 0.9116 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.2939, allocations: 4 kB / 0.9116 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.2939, allocations: 4 kB / 0.9116 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004921/0.2944, allocations: 0.5851 MB / 0.9122 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.2946, allocations: 105 kB / 0.9123 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.2946, allocations: 19.92 kB / 0.9123 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.2949, allocations: 11.98 kB / 0.9123 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.295, allocations: 19.94 kB / 0.9123 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.295, allocations: 8 kB / 0.9123 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001275/0.2951, allocations: 135.7 kB / 0.9124 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2951, allocations: 0 / 0.9124 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006997/0.2959, allocations: 72 kB / 0.9125 GB, free: 50.6 MB / 0.6042 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.0001504/0.296, allocations: 119.1 kB / 0.9126 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006424/0.2967, allocations: 297.8 kB / 0.9129 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2967, allocations: 5.25 kB / 0.9129 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.2969, allocations: 88.31 kB / 0.913 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.2973, allocations: 19.98 kB / 0.913 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.2984, allocations: 0.5687 MB / 0.9136 GB, free: 49.44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.2986, allocations: 0.7519 MB / 0.9143 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003507/0.299, allocations: 81.45 kB / 0.9144 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.522e-05/0.2991, allocations: 15.44 kB / 0.9144 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/0.2991, allocations: 0 / 0.9144 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of Templates: time 0.005773/0.3049, allocations: 1.668 MB / 0.916 GB, free: 46.91 MB / 0.6042 GB