Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerGrids 1.0.3/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo", uses=false) Using package ScalableTestGrids with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestGrids.Models.Type0.Type0_N_2_M_2,fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids_Models_Type0_Type0_N_2_M_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestGrids.Models.Type0.Type0_N_2_M_2,fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids_Models_Type0_Type0_N_2_M_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002239/0.002239, allocations: 103.2 kB / 17.59 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002382/0.002382, allocations: 191.3 kB / 18.52 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.1 MB / 224.4 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06186/0.06187, allocations: 14.18 MB / 285.9 MB, free: 13.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 4.623/4.623, allocations: 461.2 MB / 0.7793 GB, free: 107.2 MB / 0.6545 GB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ScalableTestGrids requested package PowerGrids of version 1.0.2. PowerGrids 1.0.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 83.89 kB / 0.961 GB, free: 3.375 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862/1.864, allocations: 172.1 MB / 1.129 GB, free: 28.12 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_2_M_2): time 0.2964/2.16, allocations: 243.8 MB / 1.367 GB, free: 4.508 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2221/2.383, allocations: 82.2 MB / 1.447 GB, free: 2.008 MB / 1.124 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09303/2.476, allocations: 0.6776 MB / 1.448 GB, free: 1.328 MB / 1.124 GB Notification: Performance of NFTyping.typeComponents: time 0.06284/2.539, allocations: 12.77 MB / 1.461 GB, free: 4.48 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.1762/2.715, allocations: 34.54 MB / 1.494 GB, free: 1.816 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.03533/2.75, allocations: 3.956 MB / 1.498 GB, free: 13.86 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.1784/2.929, allocations: 77.05 MB / 1.573 GB, free: 0.5078 MB / 1.249 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02858/2.957, allocations: 5.376 MB / 1.579 GB, free: 11.04 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 2.149/5.107, allocations: 25.2 MB / 1.603 GB, free: 40.59 MB / 1.265 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07688/5.184, allocations: 27.86 MB / 1.63 GB, free: 38.99 MB / 1.265 GB Notification: Performance of NFPackage.collectConstants: time 0.0275/5.211, allocations: 2.692 MB / 1.633 GB, free: 38.99 MB / 1.265 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07047/5.282, allocations: 6.316 MB / 1.639 GB, free: 38.99 MB / 1.265 GB Notification: Performance of NFScalarize.scalarize: time 0.02652/5.308, allocations: 6.824 MB / 1.646 GB, free: 37.54 MB / 1.265 GB Notification: Performance of NFVerifyModel.verify: time 0.0981/5.407, allocations: 23.29 MB / 1.669 GB, free: 31.77 MB / 1.265 GB Notification: Performance of NFConvertDAE.convert: time 0.1441/5.551, allocations: 51.97 MB / 1.719 GB, free: 23.97 MB / 1.265 GB Notification: Performance of FrontEnd - DAE generated: time 1.273e-05/5.551, allocations: 4.891 kB / 1.719 GB, free: 23.97 MB / 1.265 GB Notification: Performance of FrontEnd: time 4.81e-06/5.551, allocations: 0 / 1.719 GB, free: 23.97 MB / 1.265 GB Notification: Performance of Transformations before backend: time 0.003157/5.554, allocations: 0 / 1.719 GB, free: 23.97 MB / 1.265 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8204 * Number of variables: 8204 Notification: Performance of Generate backend data structure: time 0.3509/5.905, allocations: 59.82 MB / 1.778 GB, free: 4.816 MB / 1.265 GB Notification: Performance of prepare preOptimizeDAE: time 9.776e-05/5.905, allocations: 14.38 kB / 1.778 GB, free: 4.816 MB / 1.265 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02529/5.93, allocations: 3.998 MB / 1.782 GB, free: 3.809 MB / 1.265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05932/5.99, allocations: 6.148 MB / 1.788 GB, free: 1.121 MB / 1.265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1073/6.097, allocations: 21.79 MB / 1.809 GB, free: 6.605 MB / 1.28 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005072/6.102, allocations: 2.317 MB / 1.811 GB, free: 4.781 MB / 1.28 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01714/6.119, allocations: 3.008 MB / 1.814 GB, free: 1.773 MB / 1.28 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1443/6.264, allocations: 32.14 MB / 1.846 GB, free: 0.5039 MB / 1.312 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00327/6.267, allocations: 62.72 kB / 1.846 GB, free: 492 kB / 1.312 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01738/6.284, allocations: 1.292 MB / 1.847 GB, free: 15.19 MB / 1.327 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001089/6.286, allocations: 0.7767 MB / 1.848 GB, free: 14.42 MB / 1.327 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1086/6.394, allocations: 31.47 MB / 1.878 GB, free: 15.24 MB / 1.358 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5173/6.912, allocations: 218.9 MB / 2.092 GB, free: 1.68 MB / 1.577 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1343/7.046, allocations: 53.47 MB / 2.144 GB, free: 14.73 MB / 1.64 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04282/7.089, allocations: 14.28 MB / 2.158 GB, free: 416 kB / 1.64 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00485/7.094, allocations: 399.5 kB / 2.159 GB, free: 32 kB / 1.64 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.025/8.119, allocations: 377.8 kB / 2.159 GB, free: 0.6485 GB / 1.64 GB Notification: Performance of pre-optimization done (n=3389): time 6.308e-05/8.119, allocations: 0 / 2.159 GB, free: 0.6485 GB / 1.64 GB Notification: Performance of matching and sorting (n=3389): time 0.175/8.294, allocations: 41.3 MB / 2.199 GB, free: 0.6466 GB / 1.64 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001236/8.296, allocations: 398.6 kB / 2.2 GB, free: 0.6465 GB / 1.64 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08039/8.376, allocations: 20.43 MB / 2.22 GB, free: 0.6442 GB / 1.64 GB Notification: Performance of collectPreVariables (initialization): time 0.007367/8.383, allocations: 0.543 MB / 2.22 GB, free: 0.6438 GB / 1.64 GB Notification: Performance of collectInitialEqns (initialization): time 0.02086/8.404, allocations: 14.52 MB / 2.235 GB, free: 0.6352 GB / 1.64 GB Notification: Performance of collectInitialBindings (initialization): time 0.03131/8.436, allocations: 11.65 MB / 2.246 GB, free: 0.6262 GB / 1.64 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03885/8.475, allocations: 5.796 MB / 2.252 GB, free: 0.6234 GB / 1.64 GB Notification: Performance of setup shared object (initialization): time 0.0001058/8.475, allocations: 305.8 kB / 2.252 GB, free: 0.6231 GB / 1.64 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03352/8.508, allocations: 9.777 MB / 2.261 GB, free: 0.6193 GB / 1.64 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04658/8.555, allocations: 17.29 MB / 2.278 GB, free: 0.6073 GB / 1.64 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1088/8.664, allocations: 29.61 MB / 2.307 GB, free: 0.588 GB / 1.64 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006505/8.665, allocations: 58.53 kB / 2.307 GB, free: 0.588 GB / 1.64 GB Notification: Performance of matching and sorting (n=4728) (initialization): time 0.149/8.814, allocations: 40.48 MB / 2.347 GB, free: 0.5716 GB / 1.64 GB Notification: Performance of prepare postOptimizeDAE: time 0.001379/8.815, allocations: 94 kB / 2.347 GB, free: 0.5716 GB / 1.64 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00163/8.817, allocations: 207.1 kB / 2.347 GB, free: 0.5716 GB / 1.64 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06591/8.883, allocations: 13.82 MB / 2.361 GB, free: 0.5664 GB / 1.64 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03752/8.92, allocations: 8.228 MB / 2.369 GB, free: 0.5594 GB / 1.64 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.248/9.168, allocations: 80.5 MB / 2.447 GB, free: 0.49 GB / 1.64 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05717/9.225, allocations: 2.521 MB / 2.45 GB, free: 499.2 MB / 1.64 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009966/9.235, allocations: 1.309 MB / 2.451 GB, free: 497.9 MB / 1.64 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 926 * 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 (3816): * Single equations (assignments): 3814 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(900,0), (14,0)} Notification: Performance of prepare postOptimizeDAE: time 0.03191/9.267, allocations: 5.165 MB / 2.456 GB, free: 492.7 MB / 1.64 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02591/9.293, allocations: 3.11 MB / 2.459 GB, free: 489.6 MB / 1.64 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1308/9.424, allocations: 34.7 MB / 2.493 GB, free: 456.7 MB / 1.64 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002742/9.424, allocations: 320 kB / 2.493 GB, free: 456.4 MB / 1.64 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001386/9.425, allocations: 0 / 2.493 GB, free: 456.4 MB / 1.64 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00124/9.426, allocations: 163.4 kB / 2.493 GB, free: 456.2 MB / 1.64 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2369/9.663, allocations: 75.39 MB / 2.567 GB, free: 380.7 MB / 1.64 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003892/9.663, allocations: 4 kB / 2.567 GB, free: 380.7 MB / 1.64 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02805/9.691, allocations: 5.934 MB / 2.573 GB, free: 374.7 MB / 1.64 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02614/9.718, allocations: 5.239 MB / 2.578 GB, free: 369.5 MB / 1.64 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007374/9.725, allocations: 0.5429 MB / 2.578 GB, free: 368.9 MB / 1.64 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2381/9.963, allocations: 78.16 MB / 2.655 GB, free: 290.3 MB / 1.64 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/9.963, allocations: 15.92 kB / 2.655 GB, free: 290.3 MB / 1.64 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1548/10.12, allocations: 52.24 MB / 2.706 GB, free: 237.8 MB / 1.64 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03646/10.15, allocations: 6.188 MB / 2.712 GB, free: 231.5 MB / 1.64 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01893/10.17, allocations: 0.5273 MB / 2.712 GB, free: 231 MB / 1.64 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03947/10.21, allocations: 0.7646 MB / 2.713 GB, free: 230.2 MB / 1.64 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009853/10.22, allocations: 2.103 MB / 2.715 GB, free: 228.1 MB / 1.64 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005377/10.23, allocations: 0.75 MB / 2.716 GB, free: 227.4 MB / 1.64 GB Notification: Performance of sorting global known variables: time 0.03621/10.26, allocations: 13.21 MB / 2.729 GB, free: 214.3 MB / 1.64 GB Notification: Performance of sort global known variables: time 1.192e-06/10.26, allocations: 0 / 2.729 GB, free: 214.3 MB / 1.64 GB Notification: Performance of remove unused functions: time 0.08316/10.35, allocations: 12.55 MB / 2.741 GB, free: 201.7 MB / 1.64 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (2497): * Single equations (assignments): 2495 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(14,0), (880,0)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1167/10.46, allocations: 37.39 MB / 2.778 GB, free: 164.2 MB / 1.64 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.9076/11.37, allocations: 43.83 MB / 2.82 GB, free: 120.3 MB / 1.64 GB Notification: Performance of simCode: created event and clocks part: time 3.107e-05/11.37, allocations: 0 / 2.82 GB, free: 120.3 MB / 1.64 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created simulation system equations: time 0.9143/12.29, allocations: 28.28 MB / 2.848 GB, free: 0.5992 GB / 1.64 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06246/12.35, allocations: 3.91 MB / 2.852 GB, free: 0.5991 GB / 1.64 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.744/14.09, allocations: 0.7319 GB / 3.584 GB, free: 0.5618 GB / 1.64 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04449/14.14, allocations: 13.77 MB / 3.597 GB, free: 0.5603 GB / 1.64 GB Notification: Performance of simCode: alias equations: time 0.03877/14.18, allocations: 3.874 MB / 3.601 GB, free: 0.5597 GB / 1.64 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03843/14.21, allocations: 15.21 MB / 3.616 GB, free: 0.5479 GB / 1.64 GB Notification: Performance of SimCode: time 3.066e-06/14.21, allocations: 1.969 kB / 3.616 GB, free: 0.5479 GB / 1.64 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.073/16.29, allocations: 0.693 GB / 4.309 GB, free: 435 MB / 1.64 GB Notification: Performance of buildModelFMU: Generate platform static: time 47.7/63.99, allocations: 3.109 kB / 4.309 GB, free: 435 MB / 1.64 GB (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.sim & python3 -m fmpy simulate --output-file ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 ScalableTestGrids_noopt_ScalableTestGrids_Models_Type0_Type0_N_2_M_2.fmu > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe 2>&1)