Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 105.3 kB / 16.36 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 191.1 kB / 17.3 MB, free: 5.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.1 MB / 223.2 MB, free: 4.047 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.83/1.83, allocations: 292.3 MB / 0.5496 GB, free: 12.79 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001394, allocations: 67.94 kB / 0.6729 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2364, allocations: 114.5 MB / 0.7848 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004264/0.2407, allocations: 2.625 MB / 0.7874 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002659/0.2434, allocations: 1.528 MB / 0.7888 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.2436, allocations: 4 kB / 0.7888 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009156/0.2445, allocations: 219.1 kB / 0.7891 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000548/0.245, allocations: 191.2 kB / 0.7892 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004483/0.2455, allocations: 155.6 kB / 0.7894 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.2458, allocations: 231.3 kB / 0.7896 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003772/0.2462, allocations: 165.5 kB / 0.7898 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.2464, allocations: 99.67 kB / 0.7899 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.2467, allocations: 115.6 kB / 0.79 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.2467, allocations: 12 kB / 0.79 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003924/0.2471, allocations: 227.5 kB / 0.7902 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.886e-05/0.2472, allocations: 79.8 kB / 0.7903 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.2473, allocations: 83.59 kB / 0.7904 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004944/0.2478, allocations: 330.9 kB / 0.7907 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2479, allocations: 3.938 kB / 0.7907 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2479, allocations: 0 / 0.7907 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.2479, allocations: 0 / 0.7907 GB, free: 6.711 MB / 0.6075 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.0009378/0.2488, allocations: 491.1 kB / 0.7911 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.2489, allocations: 16.03 kB / 0.7912 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006819/0.2496, allocations: 72.66 kB / 0.7912 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.2499, allocations: 239 kB / 0.7915 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.2499, allocations: 12.7 kB / 0.7915 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.2499, allocations: 16.38 kB / 0.7915 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.2504, allocations: 328.1 kB / 0.7918 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.2504, allocations: 3.938 kB / 0.7918 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.2505, allocations: 8 kB / 0.7918 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/0.2505, allocations: 24.27 kB / 0.7918 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.2509, allocations: 252.6 kB / 0.7921 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.2525, allocations: 1.622 MB / 0.7937 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006283/0.2531, allocations: 415.1 kB / 0.7941 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.2532, allocations: 81.67 kB / 0.7941 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.2534, allocations: 89.09 kB / 0.7942 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.2534, allocations: 38.56 kB / 0.7943 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.934e-06/0.2534, allocations: 0 / 0.7943 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0006239/0.2541, allocations: 312.5 kB / 0.7945 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.2541, allocations: 85.11 kB / 0.7946 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.2543, allocations: 168.4 kB / 0.7948 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.2543, allocations: 25.7 kB / 0.7948 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.799e-05/0.2544, allocations: 160 kB / 0.795 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.2544, allocations: 47.34 kB / 0.795 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.046e-05/0.2545, allocations: 45.7 kB / 0.7951 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2546, allocations: 322.8 kB / 0.7954 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.2548, allocations: 80.81 kB / 0.7954 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.2549, allocations: 157.3 kB / 0.7956 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.2552, allocations: 253.2 kB / 0.7958 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2553, allocations: 3.938 kB / 0.7958 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003824/0.2556, allocations: 273.2 kB / 0.7961 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2557, allocations: 4 kB / 0.7961 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.2557, allocations: 4 kB / 0.7961 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.2557, allocations: 11.88 kB / 0.7961 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.2559, allocations: 47.95 kB / 0.7962 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.256, allocations: 7.938 kB / 0.7962 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.2561, allocations: 24.11 kB / 0.7962 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.2561, allocations: 12 kB / 0.7962 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001812/0.2563, allocations: 180.3 kB / 0.7964 GB, free: 388 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000143/0.2565, allocations: 142.3 kB / 0.7965 GB, free: 208 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002831/0.2568, allocations: 237.4 kB / 0.7967 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.353e-06/0.2568, allocations: 0 / 0.7967 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003501/0.2571, allocations: 253.2 kB / 0.797 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.2572, allocations: 8 kB / 0.797 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/0.2572, allocations: 352 / 0.797 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-06/0.2572, allocations: 8 kB / 0.797 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.2574, allocations: 55.84 kB / 0.797 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2574, allocations: 4 kB / 0.7971 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.2575, allocations: 11.98 kB / 0.7971 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.2575, allocations: 8 kB / 0.7971 GB, free: 15.59 MB / 0.6231 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.000111/0.2576, allocations: 192.2 kB / 0.7973 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.2577, allocations: 15.81 kB / 0.7973 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003604/0.258, allocations: 219.6 kB / 0.7975 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2581, allocations: 3.984 kB / 0.7975 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2581, allocations: 0 / 0.7975 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2581, allocations: 4 kB / 0.7975 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.2593, allocations: 0.9534 MB / 0.7984 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.2593, allocations: 4.438 kB / 0.7984 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.2594, allocations: 39.91 kB / 0.7985 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.2594, allocations: 4 kB / 0.7985 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.2595, allocations: 12 kB / 0.7985 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.2595, allocations: 4 kB / 0.7985 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.2595, allocations: 11.92 kB / 0.7985 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.2599, allocations: 432.8 kB / 0.7989 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.71e-05/0.26, allocations: 112.8 kB / 0.799 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.26, allocations: 4 kB / 0.799 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.2602, allocations: 15.98 kB / 0.799 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.2602, allocations: 15.92 kB / 0.799 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.2603, allocations: 16 kB / 0.7991 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001045/0.2604, allocations: 135.2 kB / 0.7992 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2604, allocations: 0 / 0.7992 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005054/0.2609, allocations: 76 kB / 0.7993 GB, free: 13.14 MB / 0.6231 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.0001516/0.261, allocations: 107.1 kB / 0.7994 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004568/0.2615, allocations: 308 kB / 0.7997 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.2615, allocations: 4 kB / 0.7997 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.2616, allocations: 85.33 kB / 0.7997 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.2621, allocations: 40.5 kB / 0.7998 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007539/0.2629, allocations: 488.6 kB / 0.8002 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.2632, allocations: 0.748 MB / 0.801 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001842/0.2634, allocations: 85.64 kB / 0.8011 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.2634, allocations: 15.44 kB / 0.8011 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of SimCode: time 2.8e-07/0.2635, allocations: 0 / 0.8011 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of Templates: time 0.004588/0.268, allocations: 1.788 MB / 0.8028 GB, free: 9.422 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)