Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.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_1_M_1,fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids_Models_Type0_Type0_N_1_M_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestGrids.Models.Type0.Type0_N_1_M_1,fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids_Models_Type0_Type0_N_1_M_1",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.001512/0.001512, allocations: 106.4 kB / 17.59 MB, free: 5.441 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.001637/0.001637, allocations: 191.3 kB / 18.52 MB, free: 4.52 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.514/1.514, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06688/0.06688, allocations: 14.16 MB / 285.9 MB, free: 13.94 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 4.339/4.339, 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.002446/0.002446, allocations: 85.58 kB / 0.961 GB, free: 3.367 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811/1.814, allocations: 172.1 MB / 1.129 GB, free: 28.16 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_1_M_1): time 0.05257/1.866, allocations: 45.48 MB / 1.173 GB, free: 10.83 MB / 0.8892 GB Notification: Performance of NFInst.instExpressions: time 0.04592/1.912, allocations: 16.17 MB / 1.189 GB, free: 13.21 MB / 0.9048 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01737/1.93, allocations: 128.4 kB / 1.189 GB, free: 13.18 MB / 0.9048 GB Notification: Performance of NFTyping.typeComponents: time 0.01273/1.943, allocations: 2.395 MB / 1.192 GB, free: 11.3 MB / 0.9048 GB Notification: Performance of NFTyping.typeBindings: time 0.03434/1.977, allocations: 6.919 MB / 1.198 GB, free: 5.438 MB / 0.9048 GB Notification: Performance of NFTyping.typeClassSections: time 0.006204/1.983, allocations: 1.013 MB / 1.199 GB, free: 4.664 MB / 0.9048 GB Notification: Performance of NFFlatten.flatten: time 0.03428/2.018, allocations: 14 MB / 1.213 GB, free: 12.19 MB / 0.9204 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005501/2.023, allocations: 1.019 MB / 1.214 GB, free: 11.69 MB / 0.9204 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02052/2.044, allocations: 4.592 MB / 1.219 GB, free: 8.992 MB / 0.9204 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01754/2.061, allocations: 5.06 MB / 1.224 GB, free: 5.637 MB / 0.9204 GB Notification: Performance of NFPackage.collectConstants: time 0.004366/2.066, allocations: 0.4965 MB / 1.224 GB, free: 5.629 MB / 0.9204 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01303/2.079, allocations: 1.354 MB / 1.225 GB, free: 5.434 MB / 0.9204 GB Notification: Performance of NFScalarize.scalarize: time 0.004723/2.084, allocations: 1.24 MB / 1.227 GB, free: 4.348 MB / 0.9204 GB Notification: Performance of NFVerifyModel.verify: time 0.0201/2.104, allocations: 4.223 MB / 1.231 GB, free: 1.453 MB / 0.9204 GB Notification: Performance of NFConvertDAE.convert: time 0.03415/2.138, allocations: 9.611 MB / 1.24 GB, free: 10.77 MB / 0.936 GB Notification: Performance of FrontEnd - DAE generated: time 1.689e-05/2.138, allocations: 1.375 kB / 1.24 GB, free: 10.77 MB / 0.936 GB Notification: Performance of FrontEnd: time 4.198e-06/2.138, allocations: 0 / 1.24 GB, free: 10.77 MB / 0.936 GB Notification: Performance of Transformations before backend: time 0.0005979/2.139, allocations: 0 / 1.24 GB, free: 10.77 MB / 0.936 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1484 * Number of variables: 1484 Notification: Performance of Generate backend data structure: time 0.06491/2.204, allocations: 11.12 MB / 1.251 GB, free: 3.973 MB / 0.936 GB Notification: Performance of prepare preOptimizeDAE: time 8.101e-05/2.204, allocations: 13.84 kB / 1.251 GB, free: 3.969 MB / 0.936 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003963/2.208, allocations: 0.7439 MB / 1.252 GB, free: 3.395 MB / 0.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/2.218, allocations: 1.121 MB / 1.253 GB, free: 2.84 MB / 0.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02164/2.24, allocations: 4.07 MB / 1.257 GB, free: 15.79 MB / 0.9517 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001247/2.241, allocations: 431.4 kB / 1.257 GB, free: 15.59 MB / 0.9517 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003192/2.244, allocations: 0.5442 MB / 1.258 GB, free: 15.41 MB / 0.9517 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02568/2.27, allocations: 5.826 MB / 1.263 GB, free: 11.73 MB / 0.9517 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000651/2.271, allocations: 8.531 kB / 1.263 GB, free: 11.73 MB / 0.9517 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002233/2.273, allocations: 241 kB / 1.264 GB, free: 11.55 MB / 0.9517 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000429/2.273, allocations: 143.7 kB / 1.264 GB, free: 11.55 MB / 0.9517 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02018/2.294, allocations: 5.712 MB / 1.269 GB, free: 8.773 MB / 0.9517 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.08966/2.383, allocations: 39.21 MB / 1.308 GB, free: 13.69 MB / 0.9985 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01807/2.402, allocations: 7.559 MB / 1.315 GB, free: 6.043 MB / 0.9985 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005731/2.407, allocations: 2.418 MB / 1.317 GB, free: 3.617 MB / 0.9985 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006143/2.408, allocations: 72.66 kB / 1.317 GB, free: 3.543 MB / 0.9985 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001921/2.408, allocations: 99.38 kB / 1.318 GB, free: 3.434 MB / 0.9985 GB Notification: Performance of pre-optimization done (n=597): time 2.702e-05/2.408, allocations: 3.984 kB / 1.318 GB, free: 3.43 MB / 0.9985 GB Notification: Performance of matching and sorting (n=597): time 0.06705/2.475, allocations: 16 MB / 1.333 GB, free: 3.285 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001704/2.476, allocations: 116.1 kB / 1.333 GB, free: 3.156 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01107/2.487, allocations: 3.875 MB / 1.337 GB, free: 15.28 MB / 1.03 GB Notification: Performance of collectPreVariables (initialization): time 0.001196/2.488, allocations: 121.7 kB / 1.337 GB, free: 15.15 MB / 1.03 GB Notification: Performance of collectInitialEqns (initialization): time 0.002746/2.491, allocations: 2.603 MB / 1.34 GB, free: 12.52 MB / 1.03 GB Notification: Performance of collectInitialBindings (initialization): time 0.003917/2.495, allocations: 2.052 MB / 1.342 GB, free: 10.44 MB / 1.03 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00187/2.496, allocations: 1.068 MB / 1.343 GB, free: 9.359 MB / 1.03 GB Notification: Performance of setup shared object (initialization): time 0.0001783/2.497, allocations: 305.1 kB / 1.343 GB, free: 9.059 MB / 1.03 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003162/2.5, allocations: 1.77 MB / 1.345 GB, free: 7.285 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004472/2.504, allocations: 3.151 MB / 1.348 GB, free: 3.605 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009197/2.514, allocations: 5.342 MB / 1.353 GB, free: 13.68 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.432e-05/2.514, allocations: 12 kB / 1.353 GB, free: 13.67 MB / 1.045 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01717/2.531, allocations: 7.24 MB / 1.36 GB, free: 6.352 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.495e-05/2.531, allocations: 20 kB / 1.36 GB, free: 6.332 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.702e-05/2.531, allocations: 40 kB / 1.36 GB, free: 6.293 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01055/2.542, allocations: 2.285 MB / 1.362 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006854/2.548, allocations: 1.494 MB / 1.364 GB, free: 2.504 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03051/2.579, allocations: 15.15 MB / 1.379 GB, free: 3.055 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01139/2.59, allocations: 472 kB / 1.379 GB, free: 2.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001586/2.592, allocations: 248 kB / 1.379 GB, free: 2.348 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * 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 (710): * Single equations (assignments): 708 * 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 {(136,0), (14,0)} Notification: Performance of prepare postOptimizeDAE: time 0.005708/2.598, allocations: 1.027 MB / 1.38 GB, free: 1.309 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004114/2.602, allocations: 0.5675 MB / 1.381 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01878/2.621, allocations: 6.032 MB / 1.387 GB, free: 10.6 MB / 1.077 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-05/2.621, allocations: 56 kB / 1.387 GB, free: 10.54 MB / 1.077 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.94e-05/2.621, allocations: 3.938 kB / 1.387 GB, free: 10.54 MB / 1.077 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001473/2.621, allocations: 31.89 kB / 1.387 GB, free: 10.51 MB / 1.077 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.04079/2.662, allocations: 13.39 MB / 1.4 GB, free: 12.71 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.043e-05/2.662, allocations: 4 kB / 1.4 GB, free: 12.71 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005179/2.667, allocations: 1.054 MB / 1.401 GB, free: 11.65 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004133/2.671, allocations: 0.8832 MB / 1.402 GB, free: 10.77 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006334/2.672, allocations: 104 kB / 1.402 GB, free: 10.66 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03405/2.706, allocations: 14.83 MB / 1.416 GB, free: 11.53 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.741e-05/2.706, allocations: 7.938 kB / 1.416 GB, free: 11.52 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0263/2.733, allocations: 9.839 MB / 1.426 GB, free: 1.387 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008165/2.741, allocations: 1.188 MB / 1.427 GB, free: 176 kB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004513/2.745, allocations: 104 kB / 1.427 GB, free: 72 kB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009993/2.755, allocations: 135.8 kB / 1.427 GB, free: 15.94 MB / 1.124 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002272/2.758, allocations: 393.2 kB / 1.428 GB, free: 15.55 MB / 1.124 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001056/2.759, allocations: 140 kB / 1.428 GB, free: 15.41 MB / 1.124 GB Notification: Performance of sorting global known variables: time 0.009202/2.768, allocations: 2.508 MB / 1.43 GB, free: 12.91 MB / 1.124 GB Notification: Performance of sort global known variables: time 4.1e-07/2.768, allocations: 0 / 1.43 GB, free: 12.91 MB / 1.124 GB Notification: Performance of remove unused functions: time 0.01825/2.786, allocations: 2.248 MB / 1.433 GB, free: 10.66 MB / 1.124 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (451): * Single equations (assignments): 449 * 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), (134,0)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02418/2.811, allocations: 7.061 MB / 1.44 GB, free: 3.359 MB / 1.124 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.0408/2.852, allocations: 7.681 MB / 1.447 GB, free: 11.59 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.303e-05/2.852, allocations: 0 / 1.447 GB, free: 11.59 MB / 1.139 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.01463/2.866, allocations: 4.879 MB / 1.452 GB, free: 6.652 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01632/2.883, allocations: 0.7302 MB / 1.453 GB, free: 5.922 MB / 1.139 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 0.1718/3.055, allocations: 59.64 MB / 1.511 GB, free: 4.895 MB / 1.202 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007756/3.063, allocations: 3.008 MB / 1.514 GB, free: 1.855 MB / 1.202 GB Notification: Performance of simCode: alias equations: time 0.006773/3.069, allocations: 0.7131 MB / 1.514 GB, free: 1.137 MB / 1.202 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006088/3.075, allocations: 2.421 MB / 1.517 GB, free: 14.71 MB / 1.217 GB Notification: Performance of SimCode: time 2.394e-06/3.076, allocations: 0 / 1.517 GB, free: 14.71 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.774/4.85, allocations: 131 MB / 1.645 GB, free: 392.6 MB / 1.28 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.09/22.94, allocations: 1.438 kB / 1.645 GB, free: 392.6 MB / 1.28 GB (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.sim & python3 -m fmpy simulate --output-file ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1_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_1_M_1.fmu > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.pipe 2>&1)