Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.793/1.793, allocations: 288.4 MB / 303.3 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001348/0.001348, allocations: 175 kB / 372 MB, free: 10.21 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.4 MB / 0.6307 GB, free: 9.945 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007922/0.0007924, allocations: 84.97 kB / 0.744 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004016, allocations: 15.67 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2157, allocations: 115.3 MB / 0.9797 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.005016/0.2207, allocations: 4.552 MB / 0.9841 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004531/0.2253, allocations: 3.505 MB / 0.9875 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003686/0.2257, allocations: 11.94 kB / 0.9875 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008982/0.2266, allocations: 211.1 kB / 0.9877 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.2277, allocations: 366.2 kB / 0.9881 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006142/0.2283, allocations: 197.1 kB / 0.9883 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008971/0.2292, allocations: 0.7515 MB / 0.989 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009711/0.2302, allocations: 0.7395 MB / 0.9897 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003031/0.2305, allocations: 199.2 kB / 0.9899 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003641/0.2309, allocations: 259 kB / 0.9902 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.684e-05/0.231, allocations: 24 kB / 0.9902 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007734/0.2318, allocations: 331.6 kB / 0.9905 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.2319, allocations: 139.6 kB / 0.9906 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.232, allocations: 109.5 kB / 0.9907 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000784/0.2328, allocations: 0.7559 MB / 0.9915 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2328, allocations: 0 / 0.9915 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2329, allocations: 3.984 kB / 0.9915 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.2329, allocations: 0 / 0.9915 GB, free: 15.32 MB / 0.6198 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.001266/0.2342, allocations: 0.7635 MB / 0.9922 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.2342, allocations: 8.031 kB / 0.9922 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.772e-05/0.2343, allocations: 70.53 kB / 0.9923 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002833/0.2371, allocations: 0.7131 MB / 0.993 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009628/0.2381, allocations: 0.5343 MB / 0.9935 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.2381, allocations: 20.66 kB / 0.9935 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.77e-05/0.2382, allocations: 39.94 kB / 0.9936 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.2398, allocations: 0.8395 MB / 0.9944 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.2398, allocations: 4 kB / 0.9944 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.605e-05/0.2399, allocations: 12 kB / 0.9944 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002011/0.2401, allocations: 68.56 kB / 0.9945 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.242, allocations: 0.9467 MB / 0.9954 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003498/0.2455, allocations: 2.953 MB / 0.9983 GB, free: 8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.247, allocations: 0.5695 MB / 0.9989 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006853/0.2477, allocations: 320.9 kB / 0.9992 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-05/0.2478, allocations: 85.3 kB / 0.9992 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.2479, allocations: 50.56 kB / 0.9993 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.783e-06/0.2479, allocations: 0 / 0.9993 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36): time 0.01393/0.2618, allocations: 4.074 MB / 1.003 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.2619, allocations: 81.11 kB / 1.003 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.2624, allocations: 457.5 kB / 1.004 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.2625, allocations: 29.7 kB / 1.004 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.2627, allocations: 236.2 kB / 1.004 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.447e-05/0.2628, allocations: 126.2 kB / 1.004 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.2628, allocations: 12 kB / 1.004 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.2629, allocations: 354.8 kB / 1.005 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009127/0.2638, allocations: 444.5 kB / 1.005 GB, free: 1.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009283/0.2648, allocations: 0.5212 MB / 1.005 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009284/0.2657, allocations: 481.3 kB / 1.006 GB, free: 60 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2657, allocations: 4 kB / 1.006 GB, free: 56 kB / 0.6198 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.006415/0.2721, allocations: 1.917 MB / 1.008 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.2723, allocations: 152 kB / 1.008 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.2723, allocations: 8 kB / 1.008 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005197/0.2775, allocations: 1.094 MB / 1.009 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006689/0.2782, allocations: 131.8 kB / 1.009 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/0.2902, allocations: 6.377 MB / 1.015 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.2913, allocations: 123.8 kB / 1.015 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.2915, allocations: 24.05 kB / 1.015 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2915, allocations: 7.953 kB / 1.015 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005349/0.2969, allocations: 1.629 MB / 1.017 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.2969, allocations: 8.422 kB / 1.017 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003673/0.3006, allocations: 0.8013 MB / 1.018 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007214/0.3013, allocations: 143.8 kB / 1.018 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008861/0.3102, allocations: 5.542 MB / 1.023 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.3113, allocations: 119.9 kB / 1.024 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.3114, allocations: 12 kB / 1.024 GB, free: 13.38 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0006481/0.3121, allocations: 346.1 kB / 1.024 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.3123, allocations: 39.53 kB / 1.024 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006028/0.3184, allocations: 1.84 MB / 1.026 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.3184, allocations: 8.078 kB / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3184, allocations: 0 / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3184, allocations: 0 / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007134/0.3256, allocations: 2.557 MB / 1.028 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.3256, allocations: 4 kB / 1.028 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004164/0.326, allocations: 83.83 kB / 1.028 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004581/0.3306, allocations: 1.036 MB / 1.029 GB, free: 7.375 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.673e-05/0.3307, allocations: 8 kB / 1.029 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01006/0.3408, allocations: 6.078 MB / 1.035 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3409, allocations: 4.062 kB / 1.035 GB, free: 1.008 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00553/0.3464, allocations: 1.794 MB / 1.037 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/0.3468, allocations: 188.6 kB / 1.037 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.3469, allocations: 12 kB / 1.037 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007039/0.3476, allocations: 95.84 kB / 1.037 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.3478, allocations: 43.84 kB / 1.037 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/0.3479, allocations: 11.98 kB / 1.037 GB, free: 14.82 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004933/0.3484, allocations: 343.1 kB / 1.038 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3484, allocations: 0 / 1.038 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001186/0.3496, allocations: 288 kB / 1.038 GB, free: 14.21 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.006103/0.3557, allocations: 2.394 MB / 1.04 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006824/0.3626, allocations: 2.548 MB / 1.043 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.3626, allocations: 7.938 kB / 1.043 GB, free: 9.16 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002733/0.3653, allocations: 0.9772 MB / 1.044 GB, free: 8.156 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.3664, allocations: 113.5 kB / 1.044 GB, free: 8.043 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/0.379, allocations: 5.091 MB / 1.049 GB, free: 2.859 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007641/0.3799, allocations: 0.957 MB / 1.05 GB, free: 1.875 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006979/0.3806, allocations: 155.3 kB / 1.05 GB, free: 1.723 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/0.3809, allocations: 151.4 kB / 1.05 GB, free: 1.574 MB / 0.6667 GB Notification: Performance of SimCode: time 1.863e-06/0.3809, allocations: 0 / 1.05 GB, free: 1.574 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4427/0.8236, allocations: 21 MB / 1.071 GB, free: 85.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/0.8238, allocations: 266 kB / 1.071 GB, free: 85.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.609/3.433, allocations: 0 / 1.071 GB, free: 85.39 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)