Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.479/1.479, allocations: 252 MB / 267 MB, free: 10.93 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.001416/0.001416, allocations: 178 kB / 326.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.4 MB / 0.5776 GB, free: 20.23 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.0007695/0.0007696, allocations: 86.31 kB / 0.6822 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005119/0.0005119, allocations: 11.47 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2186, allocations: 106.3 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.008102/0.2268, allocations: 9.942 MB / 0.91 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006639/0.2334, allocations: 5.481 MB / 0.9154 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.2348, allocations: 43.69 kB / 0.9154 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000636/0.2354, allocations: 245.9 kB / 0.9157 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002439/0.2379, allocations: 0.8824 MB / 0.9165 GB, free: 47.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.2395, allocations: 0.5902 MB / 0.9171 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002081/0.2415, allocations: 2.356 MB / 0.9194 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003203/0.2448, allocations: 2.157 MB / 0.9215 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.2458, allocations: 0.6962 MB / 0.9222 GB, free: 41.28 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00081/0.2466, allocations: 0.8288 MB / 0.923 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.2468, allocations: 64 kB / 0.923 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.2483, allocations: 0.6007 MB / 0.9236 GB, free: 39.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003819/0.2487, allocations: 458.6 kB / 0.9241 GB, free: 39.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00033/0.249, allocations: 292.9 kB / 0.9244 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002134/0.2512, allocations: 1.808 MB / 0.9261 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.2512, allocations: 0 / 0.9261 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2512, allocations: 0 / 0.9261 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.865e-05/0.2513, allocations: 0 / 0.9261 GB, free: 37.23 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002751/0.254, allocations: 1.618 MB / 0.9277 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/0.2541, allocations: 12.03 kB / 0.9277 GB, free: 35.54 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002221/0.2543, allocations: 211.2 kB / 0.9279 GB, free: 35.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004013/0.2583, allocations: 0.6729 MB / 0.9286 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.2597, allocations: 0.8828 MB / 0.9294 GB, free: 33.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.9e-05/0.2597, allocations: 94.52 kB / 0.9295 GB, free: 33.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.2599, allocations: 127.9 kB / 0.9296 GB, free: 33.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002776/0.2627, allocations: 2.202 MB / 0.9318 GB, free: 31.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.325e-05/0.2628, allocations: 11.94 kB / 0.9318 GB, free: 31.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.2629, allocations: 55.97 kB / 0.9319 GB, free: 31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001757/0.2631, allocations: 166.2 kB / 0.932 GB, free: 30.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.2655, allocations: 1.863 MB / 0.9338 GB, free: 28.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008854/0.2743, allocations: 12.48 MB / 0.946 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003557/0.2779, allocations: 1.962 MB / 0.9479 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006789/0.2786, allocations: 0.6011 MB / 0.9485 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.2788, allocations: 102.1 kB / 0.9486 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.2788, allocations: 51.45 kB / 0.9487 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=103): time 3.226e-06/0.2788, allocations: 0 / 0.9487 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=110): time 0.004918/0.2838, allocations: 3.687 MB / 0.9523 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.2838, allocations: 64.41 kB / 0.9523 GB, free: 8.867 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008334/0.2847, allocations: 0.9164 MB / 0.9532 GB, free: 7.934 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.795e-05/0.2847, allocations: 49.7 kB / 0.9533 GB, free: 7.879 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.285, allocations: 0.7352 MB / 0.954 GB, free: 7.133 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.2853, allocations: 382.5 kB / 0.9544 GB, free: 6.754 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.109e-05/0.2853, allocations: 36 kB / 0.9544 GB, free: 6.719 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.961e-05/0.2854, allocations: 361.9 kB / 0.9547 GB, free: 6.359 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007298/0.2861, allocations: 0.6051 MB / 0.9553 GB, free: 5.754 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009409/0.2871, allocations: 1.102 MB / 0.9564 GB, free: 4.438 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000898/0.288, allocations: 0.768 MB / 0.9572 GB, free: 3.668 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.288, allocations: 4 kB / 0.9572 GB, free: 3.664 MB / 0.6042 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002757/0.2908, allocations: 2.08 MB / 0.9592 GB, free: 1.551 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.2908, allocations: 19.89 kB / 0.9592 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.2908, allocations: 16 kB / 0.9592 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006898/0.2915, allocations: 263.2 kB / 0.9595 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.2927, allocations: 375.4 kB / 0.9598 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008006/0.3007, allocations: 10.75 MB / 0.9703 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.3021, allocations: 123.8 kB / 0.9705 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.3023, allocations: 71.98 kB / 0.9705 GB, free: 4.855 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008308/0.3031, allocations: 409.9 kB / 0.9709 GB, free: 4.445 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/0.3034, allocations: 134.4 kB / 0.971 GB, free: 4.312 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002897/0.3063, allocations: 1.669 MB / 0.9727 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.3063, allocations: 12 kB / 0.9727 GB, free: 2.598 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.3063, allocations: 4 kB / 0.9727 GB, free: 2.594 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.3063, allocations: 3.984 kB / 0.9727 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005181/0.3115, allocations: 3.288 MB / 0.9759 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.3116, allocations: 8.156 kB / 0.9759 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008673/0.3124, allocations: 227.6 kB / 0.9761 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000704/0.3131, allocations: 242.6 kB / 0.9764 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.38e-05/0.3132, allocations: 28 kB / 0.9764 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008605/0.3218, allocations: 10.73 MB / 0.9869 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/0.3219, allocations: 7.938 kB / 0.9869 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002998/0.3249, allocations: 1.788 MB / 0.9886 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006938/0.3256, allocations: 331.2 kB / 0.9889 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.3258, allocations: 28 kB / 0.989 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006789/0.3265, allocations: 99.8 kB / 0.989 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.3267, allocations: 92.78 kB / 0.9891 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.259e-05/0.3267, allocations: 36 kB / 0.9892 GB, free: 348 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007735/0.3275, allocations: 0.61 MB / 0.9898 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.994e-06/0.3275, allocations: 0 / 0.9898 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001359/0.3289, allocations: 395.9 kB / 0.9901 GB, free: 15.33 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002887/0.3318, allocations: 2.376 MB / 0.9925 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003508/0.3353, allocations: 2.478 MB / 0.9949 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.3353, allocations: 8.062 kB / 0.9949 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002164/0.3375, allocations: 1.621 MB / 0.9965 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.3392, allocations: 331.3 kB / 0.9968 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.3519, allocations: 8.532 MB / 1.005 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.3532, allocations: 1.327 MB / 1.006 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001225/0.3544, allocations: 359.3 kB / 1.007 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006791/0.3551, allocations: 0.5149 MB / 1.007 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of SimCode: time 8.92e-07/0.3551, allocations: 0 / 1.007 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05055/0.4057, allocations: 26.76 MB / 1.033 GB, free: 2.449 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.4059, allocations: 239.8 kB / 1.034 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.869/3.275, allocations: 4 kB / 1.034 GB, free: 2.207 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)