Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.331/1.331, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009248/0.0009245, allocations: 179.9 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007757/0.0007758, allocations: 84.83 kB / 0.6803 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004431/0.0004431, allocations: 8.812 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2279, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.00335/0.2313, allocations: 2.353 MB / 0.899 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002409/0.2338, allocations: 1.535 MB / 0.9005 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.2339, allocations: 7.938 kB / 0.9006 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007541/0.2347, allocations: 211.3 kB / 0.9008 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004703/0.2352, allocations: 179.4 kB / 0.9009 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.2356, allocations: 139.7 kB / 0.9011 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.2359, allocations: 347 kB / 0.9014 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003738/0.2363, allocations: 161.9 kB / 0.9015 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.2365, allocations: 79.75 kB / 0.9016 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.2367, allocations: 111.6 kB / 0.9017 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.2368, allocations: 11.98 kB / 0.9017 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004576/0.2373, allocations: 271.4 kB / 0.902 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.091e-05/0.2373, allocations: 63.8 kB / 0.9021 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.639e-05/0.2374, allocations: 75.55 kB / 0.9021 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.2378, allocations: 247.4 kB / 0.9024 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2378, allocations: 0 / 0.9024 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2378, allocations: 0 / 0.9024 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2378, allocations: 0 / 0.9024 GB, free: 62.39 MB / 0.6042 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.0006343/0.2384, allocations: 463.2 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2385, allocations: 8.031 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008245/0.2393, allocations: 84.58 kB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.2396, allocations: 231.9 kB / 0.9031 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.2396, allocations: 16.69 kB / 0.9031 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.2397, allocations: 16.38 kB / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005092/0.2402, allocations: 324.4 kB / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.2402, allocations: 3.984 kB / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.2402, allocations: 8 kB / 0.9035 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.081e-05/0.2403, allocations: 12.28 kB / 0.9035 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004486/0.2408, allocations: 252.6 kB / 0.9037 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.2423, allocations: 1.638 MB / 0.9053 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006873/0.243, allocations: 407.2 kB / 0.9057 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.2431, allocations: 89.88 kB / 0.9058 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.2433, allocations: 92.98 kB / 0.9059 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.2433, allocations: 34.55 kB / 0.9059 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 3.156e-06/0.2433, allocations: 0 / 0.9059 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.000741/0.2441, allocations: 308.5 kB / 0.9062 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.2441, allocations: 81.11 kB / 0.9063 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.2443, allocations: 170.3 kB / 0.9065 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.2443, allocations: 29.7 kB / 0.9065 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.2444, allocations: 159.7 kB / 0.9066 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.2444, allocations: 47.34 kB / 0.9067 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.2445, allocations: 25.7 kB / 0.9067 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.313e-05/0.2445, allocations: 323 kB / 0.907 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.2447, allocations: 83.95 kB / 0.9071 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.2449, allocations: 153.9 kB / 0.9072 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.2452, allocations: 245.2 kB / 0.9075 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2452, allocations: 0 / 0.9075 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004699/0.2457, allocations: 271.5 kB / 0.9077 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.335e-05/0.2458, allocations: 169.8 kB / 0.9079 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2458, allocations: 4 kB / 0.9079 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2458, allocations: 4 kB / 0.9079 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.2461, allocations: 47.91 kB / 0.9079 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.2462, allocations: 4 kB / 0.908 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.2464, allocations: 27.81 kB / 0.908 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.2464, allocations: 8 kB / 0.908 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/0.2464, allocations: 4 kB / 0.908 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003588/0.2468, allocations: 211.7 kB / 0.9082 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2468, allocations: 4 kB / 0.9082 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.593e-06/0.2468, allocations: 4 kB / 0.9082 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.247, allocations: 47.91 kB / 0.9082 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.247, allocations: 7.938 kB / 0.9083 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.2472, allocations: 19.92 kB / 0.9083 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.2472, allocations: 8 kB / 0.9083 GB, free: 55.8 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.2474, allocations: 233.2 kB / 0.9085 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-05/0.2475, allocations: 15.81 kB / 0.9085 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003974/0.2479, allocations: 200.2 kB / 0.9087 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2479, allocations: 4 kB / 0.9087 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.2479, allocations: 3.938 kB / 0.9087 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2479, allocations: 0 / 0.9087 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.2492, allocations: 0.9652 MB / 0.9097 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.2492, allocations: 4 kB / 0.9097 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.2494, allocations: 35.97 kB / 0.9097 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.2494, allocations: 4 kB / 0.9097 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.2494, allocations: 4 kB / 0.9097 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.2494, allocations: 7.938 kB / 0.9097 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2495, allocations: 4 kB / 0.9097 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.2498, allocations: 447.6 kB / 0.9101 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.118e-05/0.2499, allocations: 108.8 kB / 0.9102 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.25, allocations: 11.98 kB / 0.9103 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.2503, allocations: 11.98 kB / 0.9103 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.2503, allocations: 27.86 kB / 0.9103 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.2503, allocations: 11.94 kB / 0.9103 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001068/0.2504, allocations: 131.8 kB / 0.9104 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2505, allocations: 0 / 0.9104 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007899/0.2512, allocations: 72 kB / 0.9105 GB, free: 53.33 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001453/0.2514, allocations: 115.2 kB / 0.9106 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005164/0.2519, allocations: 299.5 kB / 0.9109 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2519, allocations: 3.938 kB / 0.9109 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.2521, allocations: 81.89 kB / 0.911 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007866/0.2529, allocations: 43.17 kB / 0.911 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008592/0.2538, allocations: 0.5731 MB / 0.9116 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.254, allocations: 0.7519 MB / 0.9123 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.902e-05/0.254, allocations: 15.44 kB / 0.9123 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.2541, allocations: 4 kB / 0.9123 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of Templates: time 0.004322/0.2584, allocations: 2.334 MB / 0.9146 GB, free: 49.03 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)