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.ACSimpleGridMedium.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.ACSimpleGridMedium,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium",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.724/1.724, allocations: 252 MB / 267.3 MB, free: 10.85 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.001318/0.001318, allocations: 175.3 kB / 327 MB, free: 2.105 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.045/2.045, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.000855/0.0008547, allocations: 91.81 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003562, allocations: 11.88 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2535, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.005653/0.2592, allocations: 4.772 MB / 0.9056 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005108/0.2644, allocations: 3.756 MB / 0.9093 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004465/0.2648, allocations: 7.938 kB / 0.9093 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.2659, allocations: 230.8 kB / 0.9095 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.2674, allocations: 410.5 kB / 0.9099 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008039/0.2682, allocations: 243.5 kB / 0.9101 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001304/0.2696, allocations: 0.9115 MB / 0.911 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.2708, allocations: 0.8256 MB / 0.9118 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003796/0.2712, allocations: 203.2 kB / 0.912 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004983/0.2717, allocations: 274.8 kB / 0.9123 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.83e-05/0.2718, allocations: 28 kB / 0.9123 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009482/0.2728, allocations: 483.2 kB / 0.9127 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.273, allocations: 143.5 kB / 0.9129 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002938/0.2733, allocations: 240.5 kB / 0.9131 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000963/0.2742, allocations: 0.9346 MB / 0.914 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2742, allocations: 0 / 0.914 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.078e-06/0.2743, allocations: 0 / 0.914 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.2743, allocations: 3.938 kB / 0.914 GB, free: 49.89 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.001438/0.2757, allocations: 0.7598 MB / 0.9148 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.2758, allocations: 12.03 kB / 0.9148 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.866e-05/0.2759, allocations: 74.66 kB / 0.9149 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002705/0.2786, allocations: 0.7179 MB / 0.9156 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009405/0.2795, allocations: 0.5354 MB / 0.9161 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.084e-05/0.2796, allocations: 36.95 kB / 0.9161 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-05/0.2797, allocations: 27.94 kB / 0.9161 GB, free: 47.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.2811, allocations: 0.8473 MB / 0.917 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.2812, allocations: 3.906 kB / 0.917 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.2812, allocations: 12 kB / 0.917 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000205/0.2814, allocations: 68.56 kB / 0.917 GB, free: 46.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.2832, allocations: 0.9429 MB / 0.918 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00363/0.2869, allocations: 2.96 MB / 0.9209 GB, free: 42.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.2884, allocations: 0.5644 MB / 0.9214 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006713/0.2891, allocations: 319.9 kB / 0.9217 GB, free: 41.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.2892, allocations: 89.11 kB / 0.9218 GB, free: 41.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.2892, allocations: 34.56 kB / 0.9218 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 3.777e-06/0.2893, allocations: 0 / 0.9218 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.01355/0.3028, allocations: 4.087 MB / 0.9258 GB, free: 37.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.3029, allocations: 84.97 kB / 0.9259 GB, free: 37.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005449/0.3035, allocations: 461.6 kB / 0.9263 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/0.3036, allocations: 29.7 kB / 0.9264 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.3038, allocations: 244.1 kB / 0.9266 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.3039, allocations: 126.1 kB / 0.9267 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.3039, allocations: 8 kB / 0.9267 GB, free: 36.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.3041, allocations: 350.8 kB / 0.9271 GB, free: 36.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008962/0.305, allocations: 444.5 kB / 0.9275 GB, free: 35.63 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009146/0.3059, allocations: 0.5251 MB / 0.928 GB, free: 35.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.3077, allocations: 0.9585 MB / 0.9289 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3078, allocations: 7.875 kB / 0.9289 GB, free: 34.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005446/0.3132, allocations: 1.935 MB / 0.9308 GB, free: 32.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.718e-05/0.3133, allocations: 148 kB / 0.931 GB, free: 31.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.3133, allocations: 4 kB / 0.931 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004472/0.3178, allocations: 1.098 MB / 0.9321 GB, free: 30.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/0.3184, allocations: 127.8 kB / 0.9322 GB, free: 30.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008812/0.3272, allocations: 6.394 MB / 0.9384 GB, free: 24.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008642/0.3281, allocations: 115.9 kB / 0.9385 GB, free: 23.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.006e-05/0.3282, allocations: 23.97 kB / 0.9386 GB, free: 23.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.3282, allocations: 4 kB / 0.9386 GB, free: 23.93 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004619/0.3329, allocations: 1.64 MB / 0.9402 GB, free: 22.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3329, allocations: 0 / 0.9402 GB, free: 22.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003139/0.336, allocations: 0.8016 MB / 0.9409 GB, free: 21.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005715/0.3366, allocations: 139.8 kB / 0.9411 GB, free: 21.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006518/0.3431, allocations: 5.562 MB / 0.9465 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000816/0.344, allocations: 112.1 kB / 0.9466 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.619e-05/0.3441, allocations: 19.98 kB / 0.9466 GB, free: 15.37 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0003975/0.3445, allocations: 332.9 kB / 0.947 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.3446, allocations: 51.53 kB / 0.947 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005049/0.3497, allocations: 1.829 MB / 0.9488 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.3497, allocations: 4 kB / 0.9488 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.3497, allocations: 4 kB / 0.9488 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3497, allocations: 0 / 0.9488 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005736/0.3555, allocations: 2.577 MB / 0.9513 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.3555, allocations: 0 / 0.9513 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/0.3559, allocations: 87.94 kB / 0.9514 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003953/0.3598, allocations: 1.016 MB / 0.9524 GB, free: 9.371 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.737e-05/0.3599, allocations: 12 kB / 0.9524 GB, free: 9.359 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007559/0.3675, allocations: 6.075 MB / 0.9583 GB, free: 3.016 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3675, allocations: 0 / 0.9583 GB, free: 3.016 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004869/0.3724, allocations: 1.798 MB / 0.9601 GB, free: 1.184 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/0.3727, allocations: 200.5 kB / 0.9603 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.3728, allocations: 8 kB / 0.9603 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006392/0.3735, allocations: 91.86 kB / 0.9604 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.3737, allocations: 39.89 kB / 0.9604 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.026e-05/0.3737, allocations: 11.98 kB / 0.9604 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003899/0.3741, allocations: 343.6 kB / 0.9607 GB, free: 500 kB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3741, allocations: 0 / 0.9607 GB, free: 500 kB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001187/0.3753, allocations: 284 kB / 0.961 GB, free: 216 kB / 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006109/0.3815, allocations: 2.428 MB / 0.9634 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.007068/0.3886, allocations: 2.525 MB / 0.9659 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.3886, allocations: 4.125 kB / 0.9659 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00268/0.3913, allocations: 0.9848 MB / 0.9668 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009477/0.3923, allocations: 119.5 kB / 0.9669 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02009/0.4124, allocations: 8.281 MB / 0.975 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007297/0.4132, allocations: 0.9531 MB / 0.976 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006707/0.4138, allocations: 163.3 kB / 0.9761 GB, free: 444 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/0.4142, allocations: 147.4 kB / 0.9762 GB, free: 296 kB / 0.6198 GB Notification: Performance of SimCode: time 1.362e-06/0.4142, allocations: 4 kB / 0.9763 GB, free: 292 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04733/0.4615, allocations: 20.98 MB / 0.9967 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002787/0.4619, allocations: 289.7 kB / 0.997 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.651/3.112, allocations: 0 / 0.997 GB, free: 11.26 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)