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.001699/0.001699, allocations: 107.8 kB / 17.29 MB, free: 6.195 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.001712/0.001712, allocations: 194 kB / 18.21 MB, free: 5.27 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.031/1.031, allocations: 205.1 MB / 224.1 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05302/0.05302, allocations: 14.16 MB / 285.6 MB, free: 14.11 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 2.195/2.195, allocations: 461.2 MB / 0.7789 GB, free: 107.3 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.001454/0.001454, allocations: 91.81 kB / 0.9604 GB, free: 3.73 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.706/0.7074, allocations: 172.1 MB / 1.128 GB, free: 27.87 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_1_M_1): time 0.02368/0.7311, allocations: 46.02 MB / 1.173 GB, free: 10.06 MB / 0.8892 GB Notification: Performance of NFInst.instExpressions: time 0.0217/0.7529, allocations: 16.27 MB / 1.189 GB, free: 12.72 MB / 0.9048 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003857/0.7568, allocations: 136.7 kB / 1.189 GB, free: 12.69 MB / 0.9048 GB Notification: Performance of NFTyping.typeComponents: time 0.003723/0.7605, allocations: 2.071 MB / 1.191 GB, free: 11.14 MB / 0.9048 GB Notification: Performance of NFTyping.typeBindings: time 0.0127/0.7732, allocations: 6.307 MB / 1.198 GB, free: 5.871 MB / 0.9048 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.7751, allocations: 0.9338 MB / 1.199 GB, free: 5.168 MB / 0.9048 GB Notification: Performance of NFFlatten.flatten: time 0.01376/0.7888, allocations: 14.81 MB / 1.213 GB, free: 12.61 MB / 0.9204 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.7902, allocations: 1.024 MB / 1.214 GB, free: 12.1 MB / 0.9204 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005257/0.7954, allocations: 4.108 MB / 1.218 GB, free: 9.648 MB / 0.9204 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003897/0.7993, allocations: 4.425 MB / 1.222 GB, free: 6.773 MB / 0.9204 GB Notification: Performance of NFPackage.collectConstants: time 0.0004377/0.7998, allocations: 378.3 kB / 1.223 GB, free: 6.77 MB / 0.9204 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.8022, allocations: 1.227 MB / 1.224 GB, free: 6.578 MB / 0.9204 GB Notification: Performance of NFScalarize.scalarize: time 0.0006381/0.8029, allocations: 1.029 MB / 1.225 GB, free: 5.699 MB / 0.9204 GB Notification: Performance of NFVerifyModel.verify: time 0.003041/0.8059, allocations: 4.028 MB / 1.229 GB, free: 2.996 MB / 0.9204 GB Notification: Performance of NFConvertDAE.convert: time 0.007747/0.8137, allocations: 9.014 MB / 1.238 GB, free: 12.78 MB / 0.936 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8137, allocations: 0 / 1.238 GB, free: 12.78 MB / 0.936 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8137, allocations: 1.438 kB / 1.238 GB, free: 12.78 MB / 0.936 GB Notification: Performance of Transformations before backend: time 8.255e-05/0.8138, allocations: 0 / 1.238 GB, free: 12.78 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.02833/0.8421, allocations: 10.56 MB / 1.248 GB, free: 6.234 MB / 0.936 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.8422, allocations: 8.438 kB / 1.248 GB, free: 6.234 MB / 0.936 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007027/0.8429, allocations: 0.7489 MB / 1.249 GB, free: 5.656 MB / 0.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003823/0.8467, allocations: 1.118 MB / 1.25 GB, free: 5.105 MB / 0.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005812/0.8525, allocations: 3.854 MB / 1.254 GB, free: 2.207 MB / 0.936 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/0.8528, allocations: 440.7 kB / 1.254 GB, free: 2.004 MB / 0.936 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005313/0.8533, allocations: 0.5466 MB / 1.254 GB, free: 1.82 MB / 0.936 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007377/0.8607, allocations: 5.823 MB / 1.26 GB, free: 14.14 MB / 0.9517 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-05/0.8608, allocations: 12.12 kB / 1.26 GB, free: 14.14 MB / 0.9517 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003742/0.8612, allocations: 236.9 kB / 1.26 GB, free: 13.96 MB / 0.9517 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.898e-05/0.8613, allocations: 144 kB / 1.261 GB, free: 13.96 MB / 0.9517 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007492/0.8688, allocations: 5.71 MB / 1.266 GB, free: 11.2 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.03021/0.899, allocations: 36.42 MB / 1.302 GB, free: 3.289 MB / 0.9829 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009658/0.9087, allocations: 7.571 MB / 1.309 GB, free: 11.63 MB / 0.9985 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002744/0.9114, allocations: 2.414 MB / 1.311 GB, free: 9.207 MB / 0.9985 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002468/0.9117, allocations: 72.66 kB / 1.311 GB, free: 9.133 MB / 0.9985 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/0.9117, allocations: 95.25 kB / 1.312 GB, free: 9.027 MB / 0.9985 GB Notification: Performance of pre-optimization done (n=597): time 6.221e-06/0.9118, allocations: 0 / 1.312 GB, free: 9.027 MB / 0.9985 GB Notification: Performance of matching and sorting (n=597): time 0.04456/0.9563, allocations: 16.01 MB / 1.327 GB, free: 8.875 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.9564, allocations: 112.1 kB / 1.327 GB, free: 8.75 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003399/0.9598, allocations: 3.46 MB / 1.331 GB, free: 5.285 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002039/0.96, allocations: 121.7 kB / 1.331 GB, free: 5.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00148/0.9615, allocations: 2.591 MB / 1.333 GB, free: 2.539 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001355/0.9629, allocations: 2.04 MB / 1.335 GB, free: 480 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001283/0.9642, allocations: 1.068 MB / 1.336 GB, free: 15.39 MB / 1.03 GB Notification: Performance of setup shared object (initialization): time 8.389e-05/0.9642, allocations: 305.1 kB / 1.337 GB, free: 15.09 MB / 1.03 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002386/0.9666, allocations: 1.774 MB / 1.338 GB, free: 13.31 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003183/0.9698, allocations: 3.152 MB / 1.341 GB, free: 9.629 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006387/0.9762, allocations: 5.342 MB / 1.347 GB, free: 3.703 MB / 1.03 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.718e-05/0.9762, allocations: 12 kB / 1.347 GB, free: 3.691 MB / 1.03 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01034/0.9866, allocations: 7.225 MB / 1.354 GB, free: 12.39 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.9866, allocations: 20 kB / 1.354 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.611e-05/0.9867, allocations: 36 kB / 1.354 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009082/0.9958, allocations: 2.297 MB / 1.356 GB, free: 10.03 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004611/1, allocations: 1.498 MB / 1.358 GB, free: 8.531 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02101/1.021, allocations: 15.13 MB / 1.372 GB, free: 9.109 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003958/1.025, allocations: 0.5033 MB / 1.373 GB, free: 8.602 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002975/1.026, allocations: 240 kB / 1.373 GB, free: 8.367 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.001546/1.027, allocations: 1.031 MB / 1.374 GB, free: 7.324 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000647/1.028, allocations: 0.5636 MB / 1.375 GB, free: 6.754 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008849/1.037, allocations: 6.032 MB / 1.38 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.793e-05/1.037, allocations: 56 kB / 1.381 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/1.037, allocations: 3.938 kB / 1.381 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-05/1.037, allocations: 27.89 kB / 1.381 GB, free: 0.5352 MB / 1.061 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.01573/1.053, allocations: 12.45 MB / 1.393 GB, free: 3.684 MB / 1.077 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/1.053, allocations: 4 kB / 1.393 GB, free: 3.68 MB / 1.077 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003618/1.056, allocations: 1.054 MB / 1.394 GB, free: 2.625 MB / 1.077 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003002/1.059, allocations: 0.8754 MB / 1.395 GB, free: 1.746 MB / 1.077 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001958/1.059, allocations: 104 kB / 1.395 GB, free: 1.645 MB / 1.077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0203/1.08, allocations: 14.84 MB / 1.409 GB, free: 2.496 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.08, allocations: 4 kB / 1.409 GB, free: 2.492 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/1.092, allocations: 9.843 MB / 1.419 GB, free: 8.355 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/1.093, allocations: 1.009 MB / 1.42 GB, free: 7.32 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005574/1.094, allocations: 104 kB / 1.42 GB, free: 7.219 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00236/1.096, allocations: 210.7 kB / 1.42 GB, free: 7.012 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005317/1.097, allocations: 389.2 kB / 1.42 GB, free: 6.629 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002064/1.097, allocations: 140 kB / 1.421 GB, free: 6.492 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.002362/1.1, allocations: 2.196 MB / 1.423 GB, free: 4.301 MB / 1.108 GB Notification: Performance of sort global known variables: time 1.413e-06/1.1, allocations: 0 / 1.423 GB, free: 4.301 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.003941/1.103, allocations: 2.065 MB / 1.425 GB, free: 2.234 MB / 1.108 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.009115/1.113, allocations: 7.069 MB / 1.432 GB, free: 10.93 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.02753/1.14, allocations: 7.689 MB / 1.439 GB, free: 3.145 MB / 1.124 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.14, allocations: 0 / 1.439 GB, free: 3.145 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 simulation system equations: time 0.007168/1.147, allocations: 4.879 MB / 1.444 GB, free: 14.21 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/1.15, allocations: 0.5535 MB / 1.444 GB, free: 13.65 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.06499/1.215, allocations: 58 MB / 1.501 GB, free: 15.01 MB / 1.202 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002372/1.217, allocations: 3.006 MB / 1.504 GB, free: 11.98 MB / 1.202 GB Notification: Performance of simCode: alias equations: time 0.00303/1.22, allocations: 0.6857 MB / 1.505 GB, free: 11.29 MB / 1.202 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002341/1.222, allocations: 2.378 MB / 1.507 GB, free: 8.91 MB / 1.202 GB Notification: Performance of SimCode: time 5.01e-07/1.222, allocations: 3.938 kB / 1.507 GB, free: 8.906 MB / 1.202 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6959/1.918, allocations: 116.1 MB / 1.62 GB, free: 407 MB / 1.28 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001308/1.918, allocations: 232.5 kB / 1.621 GB, free: 406.8 MB / 1.28 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.22/4.139, allocations: 0 / 1.621 GB, free: 406.8 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)