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 1.839/1.839, allocations: 287.5 MB / 302.6 MB, free: 8.266 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.001025/0.001025, allocations: 174.1 kB / 371.2 MB, free: 10.73 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.665/1.665, allocations: 205.4 MB / 0.6298 GB, free: 10.51 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.000952/0.000952, allocations: 94.23 kB / 0.7432 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004399/0.00044, allocations: 10.31 kB / 0.8661 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2241, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.00327/0.2274, allocations: 2.248 MB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.2293, allocations: 1.416 MB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.131e-05/0.2294, allocations: 4 kB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.2296, allocations: 27.78 kB / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.2299, allocations: 139.4 kB / 0.9824 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.2302, allocations: 111.7 kB / 0.9825 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.2304, allocations: 279.2 kB / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000497/0.231, allocations: 331.1 kB / 0.9831 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.2311, allocations: 83.69 kB / 0.9832 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.2313, allocations: 107.6 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.2313, allocations: 8 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.2315, allocations: 123.8 kB / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.835e-05/0.2316, allocations: 63.8 kB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.2316, allocations: 53.64 kB / 0.9835 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.2319, allocations: 239.4 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2319, allocations: 0 / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.785e-06/0.2319, allocations: 7.922 kB / 0.9838 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2319, allocations: 0 / 0.9838 GB, free: 22.9 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.0005381/0.2324, allocations: 463.2 kB / 0.9842 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2325, allocations: 8.031 kB / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005007/0.233, allocations: 80.56 kB / 0.9843 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.2332, allocations: 229.2 kB / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.2332, allocations: 12.7 kB / 0.9845 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.2333, allocations: 16.38 kB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.2336, allocations: 328.1 kB / 0.9848 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.2337, allocations: 4 kB / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.2337, allocations: 4 kB / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-05/0.2337, allocations: 24.27 kB / 0.9849 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.2341, allocations: 252.6 kB / 0.9851 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.2353, allocations: 1.634 MB / 0.9867 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005133/0.2358, allocations: 403.2 kB / 0.9871 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.2359, allocations: 89.61 kB / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.236, allocations: 89.09 kB / 0.9873 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.318e-05/0.236, allocations: 34.56 kB / 0.9873 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.236, allocations: 4 kB / 0.9873 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0005087/0.2366, allocations: 312.9 kB / 0.9876 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.2366, allocations: 85.05 kB / 0.9877 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.2367, allocations: 168.3 kB / 0.9878 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.2367, allocations: 25.7 kB / 0.9879 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.2368, allocations: 155.8 kB / 0.988 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.2368, allocations: 47.36 kB / 0.9881 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.2368, allocations: 192 / 0.9881 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.531e-05/0.2369, allocations: 334.8 kB / 0.9884 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.111e-05/0.237, allocations: 75.95 kB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.2371, allocations: 146.7 kB / 0.9886 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.2373, allocations: 251 kB / 0.9888 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2373, allocations: 4 kB / 0.9888 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003033/0.2376, allocations: 265.2 kB / 0.9891 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.429e-05/0.2377, allocations: 161.8 kB / 0.9892 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2377, allocations: 4 kB / 0.9893 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2377, allocations: 4 kB / 0.9893 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.238, allocations: 51.89 kB / 0.9893 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.238, allocations: 7.938 kB / 0.9893 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.2381, allocations: 19.92 kB / 0.9893 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.2381, allocations: 12.19 kB / 0.9893 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.041e-06/0.2381, allocations: 6.031 kB / 0.9894 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002328/0.2384, allocations: 221.2 kB / 0.9896 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-06/0.2384, allocations: 0 / 0.9896 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-06/0.2384, allocations: 4 kB / 0.9896 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.2386, allocations: 51.97 kB / 0.9896 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.2386, allocations: 8.094 kB / 0.9896 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.358e-05/0.2387, allocations: 15.83 kB / 0.9896 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.2387, allocations: 12.31 kB / 0.9896 GB, free: 16.36 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 9.357e-05/0.2388, allocations: 225 kB / 0.9899 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.2389, allocations: 11.91 kB / 0.9899 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.2391, allocations: 219.7 kB / 0.9901 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2391, allocations: 0 / 0.9901 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2392, allocations: 3.938 kB / 0.9901 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2392, allocations: 4 kB / 0.9901 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009078/0.2401, allocations: 0.9612 MB / 0.991 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2401, allocations: 4 kB / 0.991 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.2402, allocations: 31.97 kB / 0.9911 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2402, allocations: 4 kB / 0.9911 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.2403, allocations: 4 kB / 0.9911 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.2403, allocations: 20.34 kB / 0.9911 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2403, allocations: 4 kB / 0.9911 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.2406, allocations: 440.8 kB / 0.9915 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.2406, allocations: 108.9 kB / 0.9916 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.2407, allocations: 8 kB / 0.9916 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.2408, allocations: 15.98 kB / 0.9916 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.2409, allocations: 23.8 kB / 0.9917 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.2409, allocations: 8 kB / 0.9917 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.898e-05/0.241, allocations: 135.7 kB / 0.9918 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.241, allocations: 0 / 0.9918 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004258/0.2414, allocations: 72 kB / 0.9919 GB, free: 13.88 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.0001494/0.2416, allocations: 111.2 kB / 0.992 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003792/0.242, allocations: 293.4 kB / 0.9923 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.242, allocations: 4 kB / 0.9923 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.223e-05/0.2421, allocations: 84.06 kB / 0.9923 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.2426, allocations: 35.92 kB / 0.9924 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006948/0.2433, allocations: 0.5701 MB / 0.9929 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.2435, allocations: 0.7519 MB / 0.9937 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001851/0.2437, allocations: 73.47 kB / 0.9937 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.2438, allocations: 15.44 kB / 0.9938 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2438, allocations: 0 / 0.9938 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of Templates: time 0.004138/0.2479, allocations: 1.678 MB / 0.9954 GB, free: 10.2 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)