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.792/1.792, allocations: 288.4 MB / 304.3 MB, free: 8.039 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.0009394/0.0009394, allocations: 186.8 kB / 372.9 MB, free: 10.17 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.514/1.514, allocations: 205.4 MB / 0.6316 GB, free: 9.926 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.0009292/0.000929, allocations: 86.83 kB / 0.745 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004602/0.0004603, allocations: 11.5 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2328, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003131/0.236, allocations: 2.252 MB / 0.9829 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002428/0.2385, allocations: 1.416 MB / 0.9843 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.2386, allocations: 0 / 0.9843 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.2388, allocations: 31.72 kB / 0.9844 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006007/0.2395, allocations: 167.5 kB / 0.9845 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.24, allocations: 131.7 kB / 0.9846 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003637/0.2403, allocations: 275.2 kB / 0.9849 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007384/0.2411, allocations: 331.1 kB / 0.9852 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.2413, allocations: 79.7 kB / 0.9853 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.2415, allocations: 111.6 kB / 0.9854 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.2416, allocations: 8 kB / 0.9854 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004682/0.2421, allocations: 259.4 kB / 0.9857 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.782e-05/0.2422, allocations: 59.81 kB / 0.9857 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.368e-05/0.2423, allocations: 101.4 kB / 0.9858 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.2426, allocations: 247.4 kB / 0.986 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2426, allocations: 4 kB / 0.986 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.775e-06/0.2426, allocations: 0 / 0.986 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.2427, allocations: 3.938 kB / 0.986 GB, free: 21.88 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.0006252/0.2433, allocations: 459.2 kB / 0.9865 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.2433, allocations: 12.03 kB / 0.9865 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008838/0.2442, allocations: 80.56 kB / 0.9866 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.2446, allocations: 240 kB / 0.9868 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.2446, allocations: 12.7 kB / 0.9868 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/0.2446, allocations: 12.38 kB / 0.9868 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005658/0.2452, allocations: 324.1 kB / 0.9871 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.2453, allocations: 0 / 0.9871 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.2453, allocations: 8 kB / 0.9871 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.916e-05/0.2454, allocations: 28.2 kB / 0.9872 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005177/0.2459, allocations: 248.6 kB / 0.9874 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.2477, allocations: 1.634 MB / 0.989 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008188/0.2485, allocations: 411.2 kB / 0.9894 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.2487, allocations: 85.67 kB / 0.9895 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/0.2489, allocations: 89.09 kB / 0.9896 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.2489, allocations: 34.56 kB / 0.9896 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.2489, allocations: 0 / 0.9896 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0008193/0.2498, allocations: 312.6 kB / 0.9899 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.2498, allocations: 81.05 kB / 0.99 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.25, allocations: 169.2 kB / 0.9901 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.25, allocations: 33.64 kB / 0.9902 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.2501, allocations: 147.8 kB / 0.9903 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.2502, allocations: 47.34 kB / 0.9904 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/0.2502, allocations: 8.188 kB / 0.9904 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.23e-05/0.2503, allocations: 326.8 kB / 0.9907 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.2505, allocations: 71.95 kB / 0.9907 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.2507, allocations: 150.7 kB / 0.9909 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.2511, allocations: 247.4 kB / 0.9911 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2511, allocations: 0 / 0.9911 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005453/0.2517, allocations: 269.2 kB / 0.9914 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.828e-05/0.2518, allocations: 169.8 kB / 0.9915 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.2518, allocations: 0 / 0.9915 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.2518, allocations: 7.984 kB / 0.9915 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.2522, allocations: 51.91 kB / 0.9916 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.2522, allocations: 7.938 kB / 0.9916 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.2525, allocations: 19.92 kB / 0.9916 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.2525, allocations: 11.98 kB / 0.9916 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.2525, allocations: 4 kB / 0.9916 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004181/0.253, allocations: 209.3 kB / 0.9918 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.253, allocations: 4 kB / 0.9918 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.931e-06/0.253, allocations: 4 kB / 0.9918 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.2533, allocations: 48.09 kB / 0.9919 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2533, allocations: 4 kB / 0.9919 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.2535, allocations: 27.77 kB / 0.9919 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.2535, allocations: 8.312 kB / 0.9919 GB, free: 15.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.0001573/0.2537, allocations: 233 kB / 0.9922 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.813e-05/0.2538, allocations: 11.91 kB / 0.9922 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004622/0.2542, allocations: 207.6 kB / 0.9924 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.2543, allocations: 0 / 0.9924 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2543, allocations: 0 / 0.9924 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.952e-05/0.2544, allocations: 112.8 kB / 0.9925 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.2544, allocations: 11.98 kB / 0.9925 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.2547, allocations: 15.97 kB / 0.9925 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.2548, allocations: 7.938 kB / 0.9925 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004325/0.2552, allocations: 340.1 kB / 0.9928 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003574/0.2556, allocations: 433.8 kB / 0.9932 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001337/0.2557, allocations: 72.59 kB / 0.9933 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001117/0.2559, allocations: 131.8 kB / 0.9934 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of Backend: time 6.62e-07/0.2559, allocations: 0 / 0.9934 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00143/0.2573, allocations: 427.6 kB / 0.9938 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of SimCode: time 0.00095/0.2583, allocations: 0.8728 MB / 0.9947 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of Templates: time 0.009094/0.2674, allocations: 3.455 MB / 0.9981 GB, free: 8.98 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)