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.001081/0.001081, allocations: 113 kB / 17.74 MB, free: 5.312 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.001127/0.001127, allocations: 184.2 kB / 18.68 MB, free: 4.383 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.313/1.313, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06682/0.06682, allocations: 14.18 MB / 286.1 MB, free: 13.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 2.993/2.993, allocations: 461.2 MB / 0.7794 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.001795/0.001795, allocations: 97.89 kB / 1.13 GB, free: 22.69 MB / 0.8735 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2721, allocations: 172.1 MB / 1.298 GB, free: 8.195 MB / 0.9829 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_1_M_1): time 0.03834/0.3105, allocations: 45.47 MB / 1.342 GB, free: 10.55 MB / 1.03 GB Notification: Performance of NFInst.instExpressions: time 0.02663/0.3372, allocations: 16.18 MB / 1.358 GB, free: 10.3 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007272/0.3445, allocations: 127.6 kB / 1.358 GB, free: 10.18 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00776/0.3523, allocations: 2.388 MB / 1.361 GB, free: 7.777 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.02096/0.3733, allocations: 7.34 MB / 1.368 GB, free: 420 kB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00402/0.3774, allocations: 1.006 MB / 1.369 GB, free: 15.4 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01884/0.3962, allocations: 14.07 MB / 1.382 GB, free: 1.281 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/0.3985, allocations: 1.024 MB / 1.383 GB, free: 224 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007813/0.4064, allocations: 4.72 MB / 1.388 GB, free: 11.48 MB / 1.077 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008276/0.4147, allocations: 5.055 MB / 1.393 GB, free: 6.402 MB / 1.077 GB Notification: Performance of NFPackage.collectConstants: time 0.001881/0.4166, allocations: 0.4961 MB / 1.393 GB, free: 5.906 MB / 1.077 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005052/0.4217, allocations: 1.347 MB / 1.395 GB, free: 4.562 MB / 1.077 GB Notification: Performance of NFScalarize.scalarize: time 0.001604/0.4233, allocations: 1.236 MB / 1.396 GB, free: 3.32 MB / 1.077 GB Notification: Performance of NFVerifyModel.verify: time 0.007568/0.4309, allocations: 4.229 MB / 1.4 GB, free: 15.07 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01665/0.4475, allocations: 10.21 MB / 1.41 GB, free: 4.828 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4476, allocations: 3.938 kB / 1.41 GB, free: 4.824 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4476, allocations: 0 / 1.41 GB, free: 4.824 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002391/0.4478, allocations: 0 / 1.41 GB, free: 4.824 MB / 1.092 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.0426/0.4904, allocations: 11.2 MB / 1.421 GB, free: 9.531 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.4905, allocations: 19.97 kB / 1.421 GB, free: 9.512 MB / 1.108 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001775/0.4923, allocations: 0.7464 MB / 1.422 GB, free: 8.754 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006054/0.4984, allocations: 1.152 MB / 1.423 GB, free: 7.598 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/0.5092, allocations: 4.198 MB / 1.427 GB, free: 3.34 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004747/0.5097, allocations: 436 kB / 1.427 GB, free: 2.914 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001421/0.5111, allocations: 0.5433 MB / 1.428 GB, free: 2.371 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01366/0.5248, allocations: 5.826 MB / 1.434 GB, free: 12.32 MB / 1.124 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000226/0.5251, allocations: 11.88 kB / 1.434 GB, free: 12.31 MB / 1.124 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009311/0.526, allocations: 236 kB / 1.434 GB, free: 12.08 MB / 1.124 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.5261, allocations: 144 kB / 1.434 GB, free: 11.94 MB / 1.124 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01182/0.538, allocations: 5.707 MB / 1.44 GB, free: 6.223 MB / 1.124 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.05621/0.5942, allocations: 39.05 MB / 1.478 GB, free: 11.31 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01391/0.6082, allocations: 7.554 MB / 1.485 GB, free: 3.668 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004934/0.6131, allocations: 2.426 MB / 1.487 GB, free: 1.23 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005774/0.6137, allocations: 72.66 kB / 1.487 GB, free: 1.156 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.94e-05/0.6139, allocations: 91.25 kB / 1.488 GB, free: 1.055 MB / 1.17 GB Notification: Performance of pre-optimization done (n=597): time 1.022e-05/0.6139, allocations: 0 / 1.488 GB, free: 1.055 MB / 1.17 GB Notification: Performance of matching and sorting (n=597): time 0.06015/0.674, allocations: 16.03 MB / 1.503 GB, free: 0.8789 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.342e-05/0.6742, allocations: 120.1 kB / 1.503 GB, free: 0.7461 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008496/0.6827, allocations: 3.879 MB / 1.507 GB, free: 12.86 MB / 1.202 GB Notification: Performance of collectPreVariables (initialization): time 0.0008782/0.6836, allocations: 117.7 kB / 1.507 GB, free: 12.74 MB / 1.202 GB Notification: Performance of collectInitialEqns (initialization): time 0.002438/0.6861, allocations: 2.681 MB / 1.51 GB, free: 10.04 MB / 1.202 GB Notification: Performance of collectInitialBindings (initialization): time 0.003195/0.6893, allocations: 2.141 MB / 1.512 GB, free: 7.879 MB / 1.202 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003402/0.6927, allocations: 1.077 MB / 1.513 GB, free: 6.793 MB / 1.202 GB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.6928, allocations: 305.1 kB / 1.513 GB, free: 6.492 MB / 1.202 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003879/0.6967, allocations: 1.77 MB / 1.515 GB, free: 4.719 MB / 1.202 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005086/0.7018, allocations: 3.159 MB / 1.518 GB, free: 1.035 MB / 1.202 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009528/0.7114, allocations: 5.338 MB / 1.523 GB, free: 11.11 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.09e-05/0.7114, allocations: 8 kB / 1.523 GB, free: 11.11 MB / 1.217 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01738/0.7288, allocations: 7.251 MB / 1.53 GB, free: 3.781 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 6.22e-05/0.7289, allocations: 24 kB / 1.53 GB, free: 3.758 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.648e-05/0.729, allocations: 36 kB / 1.53 GB, free: 3.723 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01076/0.7398, allocations: 2.265 MB / 1.533 GB, free: 1.449 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006326/0.7461, allocations: 1.49 MB / 1.534 GB, free: 15.96 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03033/0.7765, allocations: 15.14 MB / 1.549 GB, free: 0.5234 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007303/0.7839, allocations: 489 kB / 1.549 GB, free: 44 kB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009601/0.7848, allocations: 248 kB / 1.55 GB, free: 15.8 MB / 1.249 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.003467/0.7883, allocations: 1.024 MB / 1.551 GB, free: 14.77 MB / 1.249 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002167/0.7905, allocations: 0.594 MB / 1.551 GB, free: 14.17 MB / 1.249 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01333/0.8039, allocations: 6.029 MB / 1.557 GB, free: 8.039 MB / 1.249 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.246e-05/0.8039, allocations: 56 kB / 1.557 GB, free: 7.984 MB / 1.249 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.804, allocations: 3.938 kB / 1.557 GB, free: 7.98 MB / 1.249 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.711e-05/0.804, allocations: 27.89 kB / 1.557 GB, free: 7.953 MB / 1.249 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.02759/0.8316, allocations: 13.35 MB / 1.57 GB, free: 10.25 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.388e-05/0.8317, allocations: 4 kB / 1.57 GB, free: 10.25 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004663/0.8364, allocations: 1.046 MB / 1.571 GB, free: 9.199 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003814/0.8402, allocations: 0.8519 MB / 1.572 GB, free: 8.34 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005531/0.8408, allocations: 108 kB / 1.572 GB, free: 8.234 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02775/0.8686, allocations: 14.83 MB / 1.587 GB, free: 9.094 MB / 1.28 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/0.8686, allocations: 8 kB / 1.587 GB, free: 9.086 MB / 1.28 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.9875/1.856, allocations: 9.892 MB / 1.596 GB, free: 269.3 MB / 1.28 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003349/1.86, allocations: 1.206 MB / 1.597 GB, free: 269.2 MB / 1.28 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009195/1.86, allocations: 101.8 kB / 1.598 GB, free: 269.2 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00396/1.864, allocations: 141.6 kB / 1.598 GB, free: 269.2 MB / 1.28 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009203/1.865, allocations: 390.5 kB / 1.598 GB, free: 269.2 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002586/1.866, allocations: 141.5 kB / 1.598 GB, free: 269.2 MB / 1.28 GB Notification: Performance of sorting global known variables: time 0.004028/1.87, allocations: 2.513 MB / 1.601 GB, free: 269 MB / 1.28 GB Notification: Performance of sort global known variables: time 1.8e-07/1.87, allocations: 1.969 kB / 1.601 GB, free: 269 MB / 1.28 GB Notification: Performance of remove unused functions: time 0.006462/1.876, allocations: 2.244 MB / 1.603 GB, free: 269 MB / 1.28 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.01288/1.889, allocations: 7.084 MB / 1.61 GB, free: 267 MB / 1.28 GB Notification: Performance of simCode: created initialization part: time 0.01687/1.906, allocations: 7.521 MB / 1.617 GB, free: 264.1 MB / 1.28 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/1.906, allocations: 1.031 kB / 1.617 GB, free: 264.1 MB / 1.28 GB Notification: Performance of simCode: created simulation system equations: time 0.01144/1.917, allocations: 4.911 MB / 1.622 GB, free: 262.2 MB / 1.28 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007968/1.925, allocations: 0.732 MB / 1.623 GB, free: 261.8 MB / 1.28 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07363/1.999, allocations: 45.32 MB / 1.667 GB, free: 238.9 MB / 1.28 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002898/2.002, allocations: 3.011 MB / 1.67 GB, free: 238 MB / 1.28 GB Notification: Performance of simCode: alias equations: time 0.003246/2.005, allocations: 0.7057 MB / 1.671 GB, free: 237.7 MB / 1.28 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00284/2.008, allocations: 2.418 MB / 1.673 GB, free: 235.7 MB / 1.28 GB Notification: Performance of SimCode: time 9.51e-07/2.008, allocations: 3.875 kB / 1.673 GB, free: 235.7 MB / 1.28 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1708/2.179, allocations: 131.4 MB / 1.801 GB, free: 105.4 MB / 1.28 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.62/29.79, allocations: 7.891 kB / 1.801 GB, free: 105.4 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)