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.32/1.32, allocations: 251.5 MB / 266.7 MB, free: 11.02 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.0009004/0.0009003, allocations: 181.2 kB / 325.8 MB, free: 2.688 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.539/1.539, allocations: 205 MB / 0.576 GB, free: 21.01 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.0007302/0.0007304, allocations: 96.47 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.000304, allocations: 11.41 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1759, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.00408/0.18, allocations: 4.761 MB / 0.9009 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003389/0.1834, allocations: 3.359 MB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.1836, allocations: 7.938 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.1847, allocations: 496.6 kB / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000619/0.1853, allocations: 349 kB / 0.905 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004855/0.1858, allocations: 243.5 kB / 0.9052 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006518/0.1865, allocations: 0.8569 MB / 0.906 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004916/0.187, allocations: 0.4894 MB / 0.9065 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.1872, allocations: 199.2 kB / 0.9067 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.1874, allocations: 267 kB / 0.9069 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.1875, allocations: 20 kB / 0.907 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004842/0.188, allocations: 383.3 kB / 0.9073 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.76e-05/0.1881, allocations: 151.5 kB / 0.9075 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.1882, allocations: 198.9 kB / 0.9077 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005825/0.1888, allocations: 0.8723 MB / 0.9085 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1888, allocations: 0 / 0.9085 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1888, allocations: 0 / 0.9085 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.1888, allocations: 0 / 0.9085 GB, free: 55.42 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.001044/0.1899, allocations: 0.752 MB / 0.9093 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1899, allocations: 8.031 kB / 0.9093 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.469e-05/0.19, allocations: 70.72 kB / 0.9093 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002421/0.1924, allocations: 0.6984 MB / 0.91 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.193, allocations: 491.7 kB / 0.9105 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.1931, allocations: 32.95 kB / 0.9105 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.052e-05/0.1931, allocations: 31.94 kB / 0.9105 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.1944, allocations: 0.8434 MB / 0.9114 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1944, allocations: 4 kB / 0.9114 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.1945, allocations: 12 kB / 0.9114 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001727/0.1946, allocations: 68.56 kB / 0.9114 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.1963, allocations: 0.9428 MB / 0.9124 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002967/0.1993, allocations: 2.925 MB / 0.9152 GB, free: 48.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.2007, allocations: 0.5683 MB / 0.9158 GB, free: 47.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006376/0.2013, allocations: 315.6 kB / 0.9161 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.542e-05/0.2014, allocations: 89.11 kB / 0.9162 GB, free: 47.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.2014, allocations: 38.55 kB / 0.9162 GB, free: 47.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 2.164e-06/0.2014, allocations: 0 / 0.9162 GB, free: 47.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.01072/0.2122, allocations: 3.652 MB / 0.9198 GB, free: 43.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.2122, allocations: 85.11 kB / 0.9198 GB, free: 43.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/0.2126, allocations: 412.4 kB / 0.9202 GB, free: 42.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.2126, allocations: 33.7 kB / 0.9203 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/0.2127, allocations: 235.9 kB / 0.9205 GB, free: 42.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.36e-05/0.2128, allocations: 106.4 kB / 0.9206 GB, free: 42.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.599e-05/0.2129, allocations: 37.7 kB / 0.9206 GB, free: 42.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.425e-05/0.2129, allocations: 346.8 kB / 0.921 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007836/0.2137, allocations: 399.7 kB / 0.9213 GB, free: 41.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007792/0.2145, allocations: 481.1 kB / 0.9218 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.216, allocations: 0.87 MB / 0.9227 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.216, allocations: 4 kB / 0.9227 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.004778/0.2208, allocations: 1.732 MB / 0.9243 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.927e-05/0.2209, allocations: 148 kB / 0.9245 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2209, allocations: 7.984 kB / 0.9245 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003928/0.2248, allocations: 0.9854 MB / 0.9255 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/0.2254, allocations: 127.8 kB / 0.9256 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03801/0.2634, allocations: 6.402 MB / 0.9318 GB, free: 30.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007506/0.2642, allocations: 119.9 kB / 0.9319 GB, free: 30.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.975e-05/0.2642, allocations: 23.92 kB / 0.932 GB, free: 30.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.733e-06/0.2642, allocations: 4 kB / 0.932 GB, free: 30.38 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004167/0.2684, allocations: 1.664 MB / 0.9336 GB, free: 28.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2684, allocations: 0 / 0.9336 GB, free: 28.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00276/0.2712, allocations: 0.7212 MB / 0.9343 GB, free: 27.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/0.2717, allocations: 139.8 kB / 0.9344 GB, free: 27.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004019/0.2757, allocations: 5.441 MB / 0.9398 GB, free: 21.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006381/0.2764, allocations: 111.9 kB / 0.9399 GB, free: 21.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.2764, allocations: 12 kB / 0.9399 GB, free: 21.82 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002713/0.2767, allocations: 329 kB / 0.9402 GB, free: 21.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.172e-05/0.2768, allocations: 39.56 kB / 0.9402 GB, free: 21.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004363/0.2811, allocations: 1.633 MB / 0.9418 GB, free: 19.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.2812, allocations: 0 / 0.9418 GB, free: 19.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2812, allocations: 4 kB / 0.9418 GB, free: 19.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2812, allocations: 0 / 0.9418 GB, free: 19.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004836/0.286, allocations: 2.323 MB / 0.9441 GB, free: 17.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.286, allocations: 0 / 0.9441 GB, free: 17.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/0.2864, allocations: 91.92 kB / 0.9442 GB, free: 17.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003457/0.2898, allocations: 0.9153 MB / 0.9451 GB, free: 16.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.2899, allocations: 12 kB / 0.9451 GB, free: 16.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005266/0.2951, allocations: 6.235 MB / 0.9512 GB, free: 9.742 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2952, allocations: 4.031 kB / 0.9512 GB, free: 9.738 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004176/0.2993, allocations: 1.647 MB / 0.9528 GB, free: 8.055 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.2995, allocations: 168.7 kB / 0.9529 GB, free: 7.871 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.379e-05/0.2996, allocations: 15.94 kB / 0.953 GB, free: 7.855 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005358/0.3001, allocations: 91.86 kB / 0.953 GB, free: 7.766 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.3002, allocations: 31.95 kB / 0.9531 GB, free: 7.734 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.3003, allocations: 15.92 kB / 0.9531 GB, free: 7.719 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002363/0.3005, allocations: 315.1 kB / 0.9534 GB, free: 7.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3005, allocations: 0 / 0.9534 GB, free: 7.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007153/0.3012, allocations: 248 kB / 0.9536 GB, free: 7.168 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004523/0.3058, allocations: 2.2 MB / 0.9558 GB, free: 4.918 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00334/0.3091, allocations: 2.255 MB / 0.958 GB, free: 2.562 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3091, allocations: 4 kB / 0.958 GB, free: 2.559 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.3103, allocations: 0.8279 MB / 0.9588 GB, free: 1.691 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005751/0.3109, allocations: 117.3 kB / 0.9589 GB, free: 1.578 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.3253, allocations: 7.447 MB / 0.9662 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.3257, allocations: 0.9258 MB / 0.9671 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005179/0.3263, allocations: 175.3 kB / 0.9672 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.3265, allocations: 135.4 kB / 0.9674 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.3265, allocations: 0 / 0.9674 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4134/0.7399, allocations: 17.98 MB / 0.9849 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002987/0.7403, allocations: 267.6 kB / 0.9852 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/3.195, allocations: 0 / 0.9852 GB, free: 6.652 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)