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.777/2.777, allocations: 287.5 MB / 302.4 MB, free: 8.281 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.001406/0.001407, allocations: 179.6 kB / 371 MB, free: 10.84 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.18/2.18, allocations: 205.4 MB / 0.6297 GB, free: 10.56 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.00104/0.00104, allocations: 88.59 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000584/0.0005844, allocations: 16.39 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2512, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003737/0.255, allocations: 2.244 MB / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00304/0.2581, allocations: 1.42 MB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.2583, allocations: 3.938 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.2586, allocations: 27.78 kB / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006263/0.2592, allocations: 139.5 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006229/0.2599, allocations: 115.7 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004152/0.2603, allocations: 271.2 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007993/0.2611, allocations: 310.4 kB / 0.9828 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.2613, allocations: 79.7 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.2617, allocations: 107.6 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.2617, allocations: 8 kB / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.2622, allocations: 131.7 kB / 0.9831 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.677e-05/0.2623, allocations: 59.84 kB / 0.9831 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.2623, allocations: 61.58 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.2627, allocations: 235.7 kB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.2628, allocations: 4 kB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.246e-06/0.2628, allocations: 0 / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.2628, allocations: 0 / 0.9834 GB, free: 23.11 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.000838/0.2636, allocations: 457.3 kB / 0.9839 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.2637, allocations: 12.02 kB / 0.9839 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008667/0.2646, allocations: 91.55 kB / 0.984 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.265, allocations: 227.4 kB / 0.9842 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.265, allocations: 8.328 kB / 0.9842 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/0.2651, allocations: 16 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006446/0.2657, allocations: 320.1 kB / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.2658, allocations: 3.938 kB / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.996e-05/0.2658, allocations: 8 kB / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.497e-05/0.2659, allocations: 20.27 kB / 0.9845 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005769/0.2665, allocations: 252.5 kB / 0.9848 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002273/0.2688, allocations: 1.626 MB / 0.9864 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.2698, allocations: 427.1 kB / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.2701, allocations: 85.66 kB / 0.9869 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/0.2703, allocations: 85.11 kB / 0.9869 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.2703, allocations: 38.55 kB / 0.987 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 3.797e-06/0.2703, allocations: 4 kB / 0.987 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0009147/0.2712, allocations: 300.5 kB / 0.9873 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.2713, allocations: 77.33 kB / 0.9873 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.2715, allocations: 172.2 kB / 0.9875 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.2716, allocations: 29.64 kB / 0.9875 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.508e-05/0.2717, allocations: 159.7 kB / 0.9877 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/0.2717, allocations: 43.36 kB / 0.9877 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.892e-05/0.2717, allocations: 8.188 kB / 0.9877 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.538e-05/0.2718, allocations: 322.8 kB / 0.988 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.272, allocations: 79.94 kB / 0.9881 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.2723, allocations: 146.7 kB / 0.9883 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.2725, allocations: 109 kB / 0.9884 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.2725, allocations: 4 kB / 0.9884 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005922/0.2731, allocations: 267 kB / 0.9886 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-05/0.2732, allocations: 161.9 kB / 0.9888 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.2733, allocations: 4.188 kB / 0.9888 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.2733, allocations: 4 kB / 0.9888 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/0.2738, allocations: 51.84 kB / 0.9888 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.2738, allocations: 11.98 kB / 0.9888 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.274, allocations: 23.83 kB / 0.9889 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.2741, allocations: 8 kB / 0.9889 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.2741, allocations: 4 kB / 0.9889 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004537/0.2746, allocations: 215.6 kB / 0.9891 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2746, allocations: 4 kB / 0.9891 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.715e-06/0.2746, allocations: 8.312 kB / 0.9891 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.2749, allocations: 47.91 kB / 0.9891 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.275, allocations: 7.984 kB / 0.9891 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.2752, allocations: 16 kB / 0.9892 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.2752, allocations: 4 kB / 0.9892 GB, free: 16.75 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.0002271/0.2754, allocations: 225 kB / 0.9894 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.597e-05/0.2755, allocations: 19.77 kB / 0.9894 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005211/0.2761, allocations: 211.7 kB / 0.9896 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2761, allocations: 0 / 0.9896 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.2761, allocations: 0 / 0.9896 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.2761, allocations: 4 kB / 0.9896 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.2778, allocations: 0.9574 MB / 0.9905 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.096e-06/0.2779, allocations: 4.438 kB / 0.9905 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.2782, allocations: 43.91 kB / 0.9906 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.2782, allocations: 4 kB / 0.9906 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.2782, allocations: 4 kB / 0.9906 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.2782, allocations: 4 kB / 0.9906 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.2782, allocations: 7.938 kB / 0.9906 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004773/0.2787, allocations: 438.6 kB / 0.991 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.2789, allocations: 116.8 kB / 0.9911 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.2789, allocations: 8 kB / 0.9911 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/0.2792, allocations: 11.98 kB / 0.9911 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.2793, allocations: 23.88 kB / 0.9912 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.2793, allocations: 8 kB / 0.9912 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001396/0.2794, allocations: 135.7 kB / 0.9913 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2795, allocations: 4 kB / 0.9913 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000785/0.2803, allocations: 72 kB / 0.9914 GB, free: 14.27 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.0001833/0.2805, allocations: 107.2 kB / 0.9915 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007098/0.2812, allocations: 300 kB / 0.9918 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.2812, allocations: 0 / 0.9918 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.2814, allocations: 85.33 kB / 0.9919 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006957/0.2821, allocations: 31.97 kB / 0.9919 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.2832, allocations: 0.5684 MB / 0.9924 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.2835, allocations: 0.7479 MB / 0.9932 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000397/0.2839, allocations: 85.5 kB / 0.9932 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.021e-05/0.284, allocations: 19.42 kB / 0.9933 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.363e-06/0.284, allocations: 0 / 0.9933 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.006434/0.2905, allocations: 1.668 MB / 0.9949 GB, free: 10.59 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)