Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.617/2.617, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001552/0.001552, allocations: 181.1 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.296/2.296, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001169/0.001168, allocations: 88.92 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000611/0.0006114, allocations: 11.05 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2162, allocations: 115.3 MB / 0.9782 GB, free: 28.44 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003412/0.2197, allocations: 2.228 MB / 0.9804 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002745/0.2225, allocations: 1.397 MB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.2227, allocations: 0 / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.2229, allocations: 31.83 kB / 0.9818 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005316/0.2234, allocations: 115.6 kB / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.224, allocations: 120.8 kB / 0.982 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.2242, allocations: 131.6 kB / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007283/0.225, allocations: 298.5 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.2252, allocations: 75.69 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.2254, allocations: 67.75 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.2254, allocations: 8 kB / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000361/0.2258, allocations: 127.8 kB / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.875e-05/0.2259, allocations: 51.89 kB / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.226, allocations: 57.58 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000389/0.2264, allocations: 243.6 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2264, allocations: 4 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.424e-06/0.2264, allocations: 0 / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2264, allocations: 0 / 0.983 GB, free: 23.46 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.0007497/0.2272, allocations: 451.1 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2272, allocations: 16.02 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000957/0.2282, allocations: 91.58 kB / 0.9835 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.2285, allocations: 226.7 kB / 0.9838 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.2286, allocations: 12.33 kB / 0.9838 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/0.2286, allocations: 15.98 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000608/0.2292, allocations: 320 kB / 0.9841 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.2293, allocations: 0 / 0.9841 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.2293, allocations: 8 kB / 0.9841 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.577e-05/0.2294, allocations: 28.2 kB / 0.9841 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005456/0.23, allocations: 252.5 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.2319, allocations: 1.63 MB / 0.986 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000951/0.2329, allocations: 415.2 kB / 0.9863 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.2331, allocations: 93.09 kB / 0.9864 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.2331, allocations: 30.56 kB / 0.9865 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.815e-06/0.2332, allocations: 0 / 0.9865 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0009/0.2341, allocations: 308.6 kB / 0.9868 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.2341, allocations: 81.09 kB / 0.9868 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.2343, allocations: 172.4 kB / 0.987 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.2344, allocations: 29.7 kB / 0.987 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/0.2344, allocations: 155.7 kB / 0.9872 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.2345, allocations: 47.34 kB / 0.9872 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/0.2345, allocations: 4 kB / 0.9872 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.641e-05/0.2346, allocations: 326.8 kB / 0.9875 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.2348, allocations: 75.94 kB / 0.9876 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.235, allocations: 150.7 kB / 0.9878 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.2352, allocations: 100.8 kB / 0.9879 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.2353, allocations: 7.953 kB / 0.9879 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006241/0.2359, allocations: 266.6 kB / 0.9881 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000222/0.2361, allocations: 0.9602 MB / 0.9891 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.2362, allocations: 4 kB / 0.9891 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.2362, allocations: 4 kB / 0.9891 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/0.2367, allocations: 63.83 kB / 0.9891 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.2367, allocations: 4 kB / 0.9891 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.2369, allocations: 23.83 kB / 0.9891 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.237, allocations: 8 kB / 0.9892 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.237, allocations: 6.031 kB / 0.9892 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004539/0.2375, allocations: 209.3 kB / 0.9894 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2375, allocations: 7.984 kB / 0.9894 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.202e-06/0.2375, allocations: 4 kB / 0.9894 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.2378, allocations: 51.91 kB / 0.9894 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2379, allocations: 4 kB / 0.9894 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.2381, allocations: 19.94 kB / 0.9894 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.2381, allocations: 8 kB / 0.9895 GB, free: 16.34 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.0001778/0.2383, allocations: 225.4 kB / 0.9897 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/0.2384, allocations: 11.81 kB / 0.9897 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004799/0.2388, allocations: 203.7 kB / 0.9899 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2389, allocations: 0 / 0.9899 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2389, allocations: 4 kB / 0.9899 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.2389, allocations: 7.938 kB / 0.9899 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.2406, allocations: 0.9613 MB / 0.9908 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.2406, allocations: 4 kB / 0.9908 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.2409, allocations: 35.91 kB / 0.9909 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.2409, allocations: 4 kB / 0.9909 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.2409, allocations: 12 kB / 0.9909 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/0.2409, allocations: 4 kB / 0.9909 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.241, allocations: 7.938 kB / 0.9909 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000508/0.2415, allocations: 0.5814 MB / 0.9915 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.2416, allocations: 112.8 kB / 0.9916 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.2417, allocations: 8 kB / 0.9916 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.242, allocations: 19.97 kB / 0.9916 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.242, allocations: 15.94 kB / 0.9916 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.242, allocations: 15.98 kB / 0.9916 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001309/0.2422, allocations: 135.7 kB / 0.9917 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2422, allocations: 0 / 0.9917 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007129/0.2429, allocations: 72 kB / 0.9918 GB, free: 13.63 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.0001646/0.2431, allocations: 111.2 kB / 0.9919 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006937/0.2438, allocations: 297.3 kB / 0.9922 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.2438, allocations: 0 / 0.9922 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.244, allocations: 84.02 kB / 0.9923 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000494/0.2445, allocations: 31.92 kB / 0.9923 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.2456, allocations: 0.5615 MB / 0.9929 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.2458, allocations: 0.7596 MB / 0.9936 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003659/0.2462, allocations: 77.61 kB / 0.9937 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.769e-05/0.2463, allocations: 19.44 kB / 0.9937 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of SimCode: time 1.202e-06/0.2463, allocations: 0 / 0.9937 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.006001/0.2523, allocations: 1.668 MB / 0.9953 GB, free: 9.957 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)