Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid",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.552/1.552, allocations: 252 MB / 267 MB, free: 10.98 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.001093/0.001093, allocations: 182.6 kB / 326.6 MB, free: 2.242 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.899/1.899, allocations: 205.4 MB / 0.5777 GB, free: 20.57 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.0007463/0.000746, allocations: 89.7 kB / 0.6822 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003801, allocations: 9.5 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2481, allocations: 106.3 MB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.004513/0.2527, allocations: 4.497 MB / 0.9047 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003691/0.2564, allocations: 3.112 MB / 0.9077 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000288/0.2567, allocations: 7.938 kB / 0.9077 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006628/0.2574, allocations: 159 kB / 0.9079 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.2585, allocations: 306.5 kB / 0.9082 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007167/0.2592, allocations: 191.5 kB / 0.9084 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009755/0.2602, allocations: 0.7009 MB / 0.9091 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.2616, allocations: 0.734 MB / 0.9098 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004177/0.2621, allocations: 195.2 kB / 0.91 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004629/0.2625, allocations: 259 kB / 0.9102 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.991e-05/0.2626, allocations: 20 kB / 0.9102 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007646/0.2634, allocations: 227.7 kB / 0.9104 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.2635, allocations: 143.6 kB / 0.9106 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.2637, allocations: 105.5 kB / 0.9107 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007117/0.2644, allocations: 0.7211 MB / 0.9114 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.2644, allocations: 0 / 0.9114 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.996e-06/0.2644, allocations: 3.938 kB / 0.9114 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.2644, allocations: 0 / 0.9114 GB, free: 52.91 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001273/0.2657, allocations: 0.7402 MB / 0.9121 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.2658, allocations: 12.03 kB / 0.9121 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.085e-05/0.2659, allocations: 70.53 kB / 0.9122 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002673/0.2685, allocations: 0.6975 MB / 0.9129 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007858/0.2693, allocations: 486.6 kB / 0.9133 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.2694, allocations: 24.61 kB / 0.9134 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.782e-05/0.2695, allocations: 35.94 kB / 0.9134 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.2709, allocations: 0.8318 MB / 0.9142 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.2709, allocations: 11.92 kB / 0.9142 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.524e-05/0.271, allocations: 19.98 kB / 0.9142 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001964/0.2712, allocations: 68.56 kB / 0.9143 GB, free: 49.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.273, allocations: 0.9351 MB / 0.9152 GB, free: 48.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003471/0.2764, allocations: 2.926 MB / 0.9181 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.2779, allocations: 0.565 MB / 0.9186 GB, free: 45.15 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000696/0.2786, allocations: 316.9 kB / 0.9189 GB, free: 44.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.2788, allocations: 89.28 kB / 0.919 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.2788, allocations: 34.75 kB / 0.919 GB, free: 44.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 2.585e-06/0.2788, allocations: 0 / 0.919 GB, free: 44.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.0121/0.2909, allocations: 3.655 MB / 0.9226 GB, free: 40.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.291, allocations: 85.11 kB / 0.9227 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005812/0.2916, allocations: 416.3 kB / 0.9231 GB, free: 40.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-05/0.2917, allocations: 29.7 kB / 0.9231 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.2919, allocations: 231.9 kB / 0.9233 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.292, allocations: 118.4 kB / 0.9235 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.292, allocations: 4 kB / 0.9235 GB, free: 40.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.2921, allocations: 354.8 kB / 0.9238 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008401/0.293, allocations: 395.7 kB / 0.9242 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008338/0.2938, allocations: 492.8 kB / 0.9246 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008865/0.2947, allocations: 423.7 kB / 0.925 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2947, allocations: 0 / 0.925 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005116/0.2999, allocations: 1.732 MB / 0.9267 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.174e-05/0.3, allocations: 144.1 kB / 0.9269 GB, free: 36.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3, allocations: 0 / 0.9269 GB, free: 36.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00424/0.3042, allocations: 0.9893 MB / 0.9278 GB, free: 35.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006119/0.3049, allocations: 127.8 kB / 0.928 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007017/0.3119, allocations: 6.394 MB / 0.9342 GB, free: 28.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008535/0.3128, allocations: 123.9 kB / 0.9343 GB, free: 28.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.3128, allocations: 15.95 kB / 0.9343 GB, free: 28.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.3129, allocations: 6.656 kB / 0.9344 GB, free: 28.42 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004529/0.3174, allocations: 1.66 MB / 0.936 GB, free: 26.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3174, allocations: 0 / 0.936 GB, free: 26.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003027/0.3205, allocations: 0.729 MB / 0.9367 GB, free: 25.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/0.3211, allocations: 135.8 kB / 0.9368 GB, free: 25.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004552/0.3256, allocations: 5.434 MB / 0.9421 GB, free: 20 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008169/0.3265, allocations: 115.8 kB / 0.9422 GB, free: 19.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.3265, allocations: 19.98 kB / 0.9422 GB, free: 19.87 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003509/0.3269, allocations: 329 kB / 0.9426 GB, free: 19.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.798e-05/0.327, allocations: 35.53 kB / 0.9426 GB, free: 19.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004772/0.3318, allocations: 1.622 MB / 0.9442 GB, free: 17.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/0.3318, allocations: 0 / 0.9442 GB, free: 17.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.3318, allocations: 4 kB / 0.9442 GB, free: 17.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3318, allocations: 3.984 kB / 0.9442 GB, free: 17.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00539/0.3372, allocations: 2.319 MB / 0.9465 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.3372, allocations: 0 / 0.9465 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.3376, allocations: 87.83 kB / 0.9465 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003742/0.3414, allocations: 0.9192 MB / 0.9474 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/0.3415, allocations: 11.98 kB / 0.9474 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006125/0.3476, allocations: 6.235 MB / 0.9535 GB, free: 7.797 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3476, allocations: 8.016 kB / 0.9535 GB, free: 7.789 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004581/0.3522, allocations: 1.635 MB / 0.9551 GB, free: 6.117 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002892/0.3525, allocations: 184.6 kB / 0.9553 GB, free: 5.918 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.806e-05/0.3526, allocations: 8 kB / 0.9553 GB, free: 5.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005804/0.3532, allocations: 91.86 kB / 0.9554 GB, free: 5.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.3534, allocations: 35.89 kB / 0.9554 GB, free: 5.785 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.3534, allocations: 15.98 kB / 0.9555 GB, free: 5.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003535/0.3538, allocations: 303.1 kB / 0.9557 GB, free: 5.473 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3538, allocations: 0 / 0.9557 GB, free: 5.473 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001018/0.3548, allocations: 248 kB / 0.956 GB, free: 5.23 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005032/0.3598, allocations: 2.211 MB / 0.9581 GB, free: 2.969 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003942/0.3638, allocations: 2.252 MB / 0.9603 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.3639, allocations: 0 / 0.9603 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001397/0.3653, allocations: 0.824 MB / 0.9611 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008065/0.3661, allocations: 124.1 kB / 0.9613 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.3772, allocations: 4.58 MB / 0.9657 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/0.3779, allocations: 0.9258 MB / 0.9666 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006633/0.3786, allocations: 167.2 kB / 0.9668 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.3788, allocations: 139.4 kB / 0.9669 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of SimCode: time 7.71e-07/0.3788, allocations: 3.938 kB / 0.9669 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03491/0.4138, allocations: 18.06 MB / 0.9846 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.414, allocations: 250 kB / 0.9848 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.479/2.893, allocations: 0 / 0.9848 GB, free: 7.605 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)