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.672/1.672, allocations: 287.4 MB / 303.2 MB, free: 8.305 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.001042/0.001042, allocations: 178.3 kB / 371.8 MB, free: 10.85 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.989/1.989, allocations: 205.4 MB / 0.6304 GB, free: 10.59 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.0008143/0.0008143, allocations: 104.8 kB / 0.7438 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004017, allocations: 11.92 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2326, allocations: 115.3 MB / 0.9793 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002883/0.2356, allocations: 2.253 MB / 0.9815 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002096/0.2377, allocations: 1.424 MB / 0.9829 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.2379, allocations: 0 / 0.9829 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.2381, allocations: 27.78 kB / 0.9829 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004601/0.2385, allocations: 131.4 kB / 0.983 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.2389, allocations: 123.7 kB / 0.9831 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.2392, allocations: 271.2 kB / 0.9834 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005897/0.2398, allocations: 335.1 kB / 0.9837 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.24, allocations: 75.69 kB / 0.9838 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.2402, allocations: 107.6 kB / 0.9839 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.2402, allocations: 4 kB / 0.9839 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.2404, allocations: 131.8 kB / 0.984 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.305e-05/0.2405, allocations: 63.8 kB / 0.9841 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.2405, allocations: 49.64 kB / 0.9841 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.2408, allocations: 243.4 kB / 0.9844 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2408, allocations: 0 / 0.9844 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2408, allocations: 3.938 kB / 0.9844 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2408, allocations: 0 / 0.9844 GB, free: 22.97 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.0006474/0.2415, allocations: 459.1 kB / 0.9848 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.2415, allocations: 12.03 kB / 0.9848 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005421/0.2421, allocations: 80.56 kB / 0.9849 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.2424, allocations: 226.2 kB / 0.9851 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.2424, allocations: 16.69 kB / 0.9851 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/0.2424, allocations: 16.38 kB / 0.9851 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.2429, allocations: 328.1 kB / 0.9855 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.2429, allocations: 0 / 0.9855 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.243, allocations: 12 kB / 0.9855 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.165e-05/0.243, allocations: 28.19 kB / 0.9855 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003769/0.2434, allocations: 248.6 kB / 0.9857 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.2447, allocations: 1.626 MB / 0.9873 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.2453, allocations: 415.1 kB / 0.9877 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.2454, allocations: 89.67 kB / 0.9878 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.2456, allocations: 85.09 kB / 0.9879 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.2456, allocations: 34.56 kB / 0.9879 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.2456, allocations: 192 / 0.9879 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0006229/0.2462, allocations: 312.4 kB / 0.9882 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.2463, allocations: 85.45 kB / 0.9883 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.2464, allocations: 168.2 kB / 0.9885 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.2464, allocations: 33.64 kB / 0.9885 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.2465, allocations: 147.8 kB / 0.9886 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.2465, allocations: 43.36 kB / 0.9887 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.2466, allocations: 4 kB / 0.9887 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.165e-05/0.2466, allocations: 326.8 kB / 0.989 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.2467, allocations: 75.95 kB / 0.9891 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.2469, allocations: 159.1 kB / 0.9892 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.2471, allocations: 237.3 kB / 0.9894 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2471, allocations: 4 kB / 0.9894 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003387/0.2475, allocations: 270.1 kB / 0.9897 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.072e-05/0.2475, allocations: 163.7 kB / 0.9898 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2476, allocations: 4 kB / 0.9899 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.2476, allocations: 8 kB / 0.9899 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.2478, allocations: 55.89 kB / 0.9899 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.2478, allocations: 3.938 kB / 0.9899 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.248, allocations: 23.92 kB / 0.9899 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.248, allocations: 8 kB / 0.9899 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.741e-06/0.248, allocations: 4 kB / 0.99 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002556/0.2483, allocations: 214 kB / 0.9902 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.2483, allocations: 4 kB / 0.9902 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-06/0.2483, allocations: 7.984 kB / 0.9902 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.2484, allocations: 47.91 kB / 0.9902 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.2485, allocations: 4 kB / 0.9902 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.829e-05/0.2486, allocations: 23.83 kB / 0.9902 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.2486, allocations: 8 kB / 0.9902 GB, free: 16.43 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.0001156/0.2487, allocations: 225 kB / 0.9905 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.2487, allocations: 8 kB / 0.9905 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.2491, allocations: 215.6 kB / 0.9907 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.2491, allocations: 3.984 kB / 0.9907 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2491, allocations: 0 / 0.9907 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.868e-05/0.2492, allocations: 108.9 kB / 0.9908 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.2492, allocations: 7.984 kB / 0.9908 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.2493, allocations: 15.97 kB / 0.9908 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.2494, allocations: 23.92 kB / 0.9908 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002777/0.2497, allocations: 332.1 kB / 0.9911 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002572/0.2499, allocations: 429.8 kB / 0.9916 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.86e-05/0.25, allocations: 67.95 kB / 0.9916 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.539e-05/0.2501, allocations: 135.7 kB / 0.9917 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of Backend: time 8.92e-07/0.2501, allocations: 4 kB / 0.9918 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008781/0.251, allocations: 364.1 kB / 0.9921 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0009054/0.2519, allocations: 0.8767 MB / 0.993 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of Templates: time 0.006328/0.2583, allocations: 3.414 MB / 0.9963 GB, free: 10.15 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)