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.001626/0.001626, allocations: 114.3 kB / 17.75 MB, free: 5.336 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.002116/0.002116, allocations: 183 kB / 18.68 MB, free: 4.41 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.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06548/0.06548, allocations: 14.16 MB / 286.1 MB, free: 13.85 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.421/3.421, allocations: 461.2 MB / 0.7794 GB, free: 107.1 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.00184/0.00184, allocations: 94.2 kB / 1.13 GB, free: 22.75 MB / 0.8735 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.378, allocations: 172.1 MB / 1.298 GB, free: 8.203 MB / 0.9829 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_1_M_1): time 0.03898/0.417, allocations: 45.48 MB / 1.342 GB, free: 10.55 MB / 1.03 GB Notification: Performance of NFInst.instExpressions: time 0.03039/0.4474, allocations: 16.18 MB / 1.358 GB, free: 10.31 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00999/0.4575, allocations: 123.6 kB / 1.358 GB, free: 10.19 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.009786/0.4673, allocations: 2.392 MB / 1.361 GB, free: 7.781 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.02477/0.4922, allocations: 7.325 MB / 1.368 GB, free: 440 kB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00487/0.497, allocations: 1.009 MB / 1.369 GB, free: 15.42 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.02392/0.521, allocations: 14.07 MB / 1.382 GB, free: 1.297 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003326/0.5244, allocations: 1.025 MB / 1.383 GB, free: 240 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009984/0.5344, allocations: 4.728 MB / 1.388 GB, free: 11.49 MB / 1.077 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01119/0.5456, allocations: 5.055 MB / 1.393 GB, free: 6.414 MB / 1.077 GB Notification: Performance of NFPackage.collectConstants: time 0.002892/0.5485, allocations: 500 kB / 1.393 GB, free: 5.926 MB / 1.077 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007968/0.5565, allocations: 1.351 MB / 1.395 GB, free: 4.574 MB / 1.077 GB Notification: Performance of NFScalarize.scalarize: time 0.002881/0.5594, allocations: 1.236 MB / 1.396 GB, free: 3.332 MB / 1.077 GB Notification: Performance of NFVerifyModel.verify: time 0.01136/0.5708, allocations: 4.229 MB / 1.4 GB, free: 15.08 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0222/0.593, allocations: 10.17 MB / 1.41 GB, free: 4.883 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.5931, allocations: 3.938 kB / 1.41 GB, free: 4.879 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5931, allocations: 4 kB / 1.41 GB, free: 4.875 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003902/0.5935, allocations: 0 / 1.41 GB, free: 4.875 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.0465/0.64, allocations: 11 MB / 1.421 GB, free: 9.789 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/0.6401, allocations: 8.031 kB / 1.421 GB, free: 9.781 MB / 1.108 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002345/0.6425, allocations: 0.7464 MB / 1.421 GB, free: 9.023 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007008/0.6495, allocations: 1.124 MB / 1.423 GB, free: 7.891 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01334/0.6629, allocations: 4.158 MB / 1.427 GB, free: 3.668 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005402/0.6634, allocations: 428 kB / 1.427 GB, free: 3.25 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001979/0.6654, allocations: 0.5433 MB / 1.428 GB, free: 2.707 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01569/0.6812, allocations: 5.826 MB / 1.433 GB, free: 12.66 MB / 1.124 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000252/0.6814, allocations: 11.88 kB / 1.433 GB, free: 12.64 MB / 1.124 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001242/0.6827, allocations: 240 kB / 1.434 GB, free: 12.41 MB / 1.124 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001371/0.6829, allocations: 143.9 kB / 1.434 GB, free: 12.27 MB / 1.124 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01264/0.6955, allocations: 5.711 MB / 1.439 GB, free: 6.551 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.071/0.7665, allocations: 39 MB / 1.477 GB, free: 11.69 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0135/0.7801, allocations: 7.558 MB / 1.485 GB, free: 4.043 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005456/0.7856, allocations: 2.421 MB / 1.487 GB, free: 1.609 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006367/0.7863, allocations: 80.66 kB / 1.487 GB, free: 1.527 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.7864, allocations: 91.25 kB / 1.487 GB, free: 1.426 MB / 1.17 GB Notification: Performance of pre-optimization done (n=597): time 9.818e-06/0.7864, allocations: 3.938 kB / 1.487 GB, free: 1.422 MB / 1.17 GB Notification: Performance of matching and sorting (n=597): time 0.05559/0.842, allocations: 15.99 MB / 1.503 GB, free: 1.281 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.8422, allocations: 112.1 kB / 1.503 GB, free: 1.156 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009459/0.8516, allocations: 3.878 MB / 1.507 GB, free: 13.27 MB / 1.202 GB Notification: Performance of collectPreVariables (initialization): time 0.001017/0.8527, allocations: 121.7 kB / 1.507 GB, free: 13.14 MB / 1.202 GB Notification: Performance of collectInitialEqns (initialization): time 0.002759/0.8555, allocations: 2.603 MB / 1.509 GB, free: 10.52 MB / 1.202 GB Notification: Performance of collectInitialBindings (initialization): time 0.003585/0.8591, allocations: 2.06 MB / 1.511 GB, free: 8.426 MB / 1.202 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004038/0.8631, allocations: 1.068 MB / 1.512 GB, free: 7.348 MB / 1.202 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.8633, allocations: 305.1 kB / 1.513 GB, free: 7.047 MB / 1.202 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004091/0.8674, allocations: 1.77 MB / 1.514 GB, free: 5.273 MB / 1.202 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005313/0.8727, allocations: 3.152 MB / 1.518 GB, free: 1.598 MB / 1.202 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/0.8828, allocations: 5.338 MB / 1.523 GB, free: 11.68 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-05/0.8829, allocations: 12 kB / 1.523 GB, free: 11.66 MB / 1.217 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01882/0.9017, allocations: 7.233 MB / 1.53 GB, free: 4.355 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 6.761e-05/0.9018, allocations: 20 kB / 1.53 GB, free: 4.336 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.218e-05/0.9019, allocations: 40 kB / 1.53 GB, free: 4.297 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01066/0.9125, allocations: 2.253 MB / 1.532 GB, free: 2.027 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006124/0.9187, allocations: 1.494 MB / 1.534 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03747/0.9562, allocations: 15.08 MB / 1.548 GB, free: 1.145 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01207/0.9683, allocations: 479.8 kB / 1.549 GB, free: 0.6719 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001722/0.9701, allocations: 252 kB / 1.549 GB, free: 436 kB / 1.233 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.005664/0.9758, allocations: 1.02 MB / 1.55 GB, free: 15.39 MB / 1.249 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003954/0.9798, allocations: 0.5675 MB / 1.551 GB, free: 14.82 MB / 1.249 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02078/1.001, allocations: 6.021 MB / 1.556 GB, free: 8.695 MB / 1.249 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.361e-05/1.001, allocations: 60 kB / 1.556 GB, free: 8.637 MB / 1.249 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.873e-05/1.001, allocations: 7.938 kB / 1.556 GB, free: 8.629 MB / 1.249 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001387/1.001, allocations: 31.88 kB / 1.556 GB, free: 8.598 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.04642/1.047, allocations: 13.34 MB / 1.57 GB, free: 10.9 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.557e-05/1.047, allocations: 4 kB / 1.57 GB, free: 10.9 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004829/1.052, allocations: 1.05 MB / 1.571 GB, free: 9.848 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003722/1.056, allocations: 0.8519 MB / 1.571 GB, free: 8.988 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006619/1.057, allocations: 100 kB / 1.571 GB, free: 8.891 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02621/1.083, allocations: 14.78 MB / 1.586 GB, free: 9.797 MB / 1.28 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.083, allocations: 4 kB / 1.586 GB, free: 9.793 MB / 1.28 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.581/2.664, allocations: 9.846 MB / 1.596 GB, free: 269.9 MB / 1.28 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006384/2.671, allocations: 1.182 MB / 1.597 GB, free: 269.8 MB / 1.28 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002504/2.673, allocations: 101.3 kB / 1.597 GB, free: 269.8 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006256/2.679, allocations: 141.5 kB / 1.597 GB, free: 269.8 MB / 1.28 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001381/2.681, allocations: 386.9 kB / 1.597 GB, free: 269.8 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000345/2.681, allocations: 138.2 kB / 1.597 GB, free: 269.8 MB / 1.28 GB Notification: Performance of sorting global known variables: time 0.006728/2.688, allocations: 2.515 MB / 1.6 GB, free: 269.6 MB / 1.28 GB Notification: Performance of sort global known variables: time 3.31e-07/2.688, allocations: 0 / 1.6 GB, free: 269.6 MB / 1.28 GB Notification: Performance of remove unused functions: time 0.01165/2.7, allocations: 2.246 MB / 1.602 GB, free: 269.6 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.01966/2.719, allocations: 7.056 MB / 1.609 GB, free: 267.7 MB / 1.28 GB Notification: Performance of simCode: created initialization part: time 0.02258/2.742, allocations: 7.497 MB / 1.616 GB, free: 264.9 MB / 1.28 GB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/2.742, allocations: 0.5625 kB / 1.616 GB, free: 264.9 MB / 1.28 GB Notification: Performance of simCode: created simulation system equations: time 0.01976/2.762, allocations: 4.888 MB / 1.621 GB, free: 263 MB / 1.28 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01466/2.776, allocations: 0.7261 MB / 1.622 GB, free: 262.6 MB / 1.28 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1076/2.884, allocations: 45.05 MB / 1.666 GB, free: 240 MB / 1.28 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003768/2.888, allocations: 3.008 MB / 1.669 GB, free: 239.1 MB / 1.28 GB Notification: Performance of simCode: alias equations: time 0.003688/2.892, allocations: 0.7174 MB / 1.669 GB, free: 238.8 MB / 1.28 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003769/2.895, allocations: 2.421 MB / 1.672 GB, free: 236.7 MB / 1.28 GB Notification: Performance of SimCode: time 1.804e-06/2.896, allocations: 4 kB / 1.672 GB, free: 236.7 MB / 1.28 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2129/3.108, allocations: 131.4 MB / 1.8 GB, free: 106.5 MB / 1.28 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.04/30.15, allocations: 3.938 kB / 1.8 GB, free: 106.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ScalableTestGrids_noopt_ScalableTestGrids_Models_Type0_Type0_N_1_M_1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ScalableTestGrids_noopt_ScalableTestGrids_Models_Type0_Type0_N_1_M_1.fmu > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.pipe 2>&1)