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.0007885/0.0007886, allocations: 96.7 kB / 17.31 MB, free: 6.543 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.0008309/0.0008309, allocations: 186 kB / 18.22 MB, free: 5.676 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.118/1.118, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05484/0.05484, allocations: 14.16 MB / 286.8 MB, free: 13.89 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 2.385/2.385, allocations: 464.3 MB / 0.7842 GB, free: 107.7 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.0005269/0.000527, allocations: 16.75 kB / 0.9696 GB, free: 15.5 MB / 0.7483 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7948/0.7954, allocations: 176.2 MB / 1.142 GB, free: 24.91 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_1_M_1): time 0.02514/0.8205, allocations: 44.53 MB / 1.185 GB, free: 6.816 MB / 0.8892 GB Notification: Performance of NFInst.instExpressions: time 0.02169/0.8423, allocations: 16.05 MB / 1.201 GB, free: 9.293 MB / 0.9048 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003511/0.8458, allocations: 129.8 kB / 1.201 GB, free: 9.266 MB / 0.9048 GB Notification: Performance of NFTyping.typeComponents: time 0.003695/0.8495, allocations: 2.071 MB / 1.203 GB, free: 7.715 MB / 0.9048 GB Notification: Performance of NFTyping.typeBindings: time 0.01325/0.8628, allocations: 6.315 MB / 1.209 GB, free: 2.449 MB / 0.9048 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.8647, allocations: 0.9436 MB / 1.21 GB, free: 1.738 MB / 0.9048 GB Notification: Performance of NFFlatten.flatten: time 0.01367/0.8783, allocations: 14.16 MB / 1.224 GB, free: 9.707 MB / 0.9204 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.8797, allocations: 0.9403 MB / 1.225 GB, free: 9.234 MB / 0.9204 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004981/0.8847, allocations: 3.556 MB / 1.228 GB, free: 7.277 MB / 0.9204 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003647/0.8883, allocations: 4.064 MB / 1.232 GB, free: 4.762 MB / 0.9204 GB Notification: Performance of NFPackage.collectConstants: time 0.000359/0.8887, allocations: 198.6 kB / 1.232 GB, free: 4.762 MB / 0.9204 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.891, allocations: 0.8591 MB / 1.233 GB, free: 4.574 MB / 0.9204 GB Notification: Performance of NFScalarize.scalarize: time 0.0005799/0.8916, allocations: 0.8571 MB / 1.234 GB, free: 3.867 MB / 0.9204 GB Notification: Performance of NFVerifyModel.verify: time 0.002989/0.8946, allocations: 3.687 MB / 1.238 GB, free: 1.492 MB / 0.9204 GB Notification: Performance of NFConvertDAE.convert: time 0.007297/0.9019, allocations: 8.501 MB / 1.246 GB, free: 11.64 MB / 0.936 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.9019, allocations: 0 / 1.246 GB, free: 11.64 MB / 0.936 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9019, allocations: 0 / 1.246 GB, free: 11.64 MB / 0.936 GB Notification: Performance of Transformations before backend: time 8.012e-05/0.902, allocations: 1.438 kB / 1.246 GB, free: 11.64 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.02828/0.9303, allocations: 9.253 MB / 1.255 GB, free: 6.008 MB / 0.936 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.9303, allocations: 10 kB / 1.255 GB, free: 6.008 MB / 0.936 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008143/0.9311, allocations: 0.7403 MB / 1.256 GB, free: 5.438 MB / 0.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003926/0.9351, allocations: 1.132 MB / 1.257 GB, free: 4.875 MB / 0.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005957/0.941, allocations: 3.854 MB / 1.261 GB, free: 1.977 MB / 0.936 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.9413, allocations: 428.1 kB / 1.261 GB, free: 1.785 MB / 0.936 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005825/0.9419, allocations: 0.5505 MB / 1.262 GB, free: 1.598 MB / 0.936 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007628/0.9495, allocations: 5.824 MB / 1.267 GB, free: 13.93 MB / 0.9517 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.541e-05/0.9496, allocations: 12.09 kB / 1.267 GB, free: 13.92 MB / 0.9517 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003864/0.95, allocations: 244.8 kB / 1.268 GB, free: 13.73 MB / 0.9517 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.839e-05/0.9501, allocations: 143.4 kB / 1.268 GB, free: 13.73 MB / 0.9517 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008032/0.9581, allocations: 5.705 MB / 1.273 GB, free: 9.98 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.03007/0.9882, allocations: 36.45 MB / 1.309 GB, free: 1.656 MB / 0.9829 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/0.9985, allocations: 7.558 MB / 1.316 GB, free: 10.01 MB / 0.9985 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002909/1.001, allocations: 2.418 MB / 1.319 GB, free: 7.586 MB / 0.9985 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/1.002, allocations: 76.66 kB / 1.319 GB, free: 7.508 MB / 0.9985 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/1.002, allocations: 91.25 kB / 1.319 GB, free: 7.406 MB / 0.9985 GB Notification: Performance of pre-optimization done (n=597): time 6.512e-06/1.002, allocations: 0 / 1.319 GB, free: 7.406 MB / 0.9985 GB Notification: Performance of matching and sorting (n=597): time 0.04822/1.05, allocations: 16.09 MB / 1.334 GB, free: 7.168 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/1.05, allocations: 116 kB / 1.335 GB, free: 7.039 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003614/1.054, allocations: 3.457 MB / 1.338 GB, free: 3.578 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002064/1.054, allocations: 117.7 kB / 1.338 GB, free: 3.457 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001554/1.055, allocations: 2.599 MB / 1.341 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00132/1.057, allocations: 2.044 MB / 1.343 GB, free: 14.75 MB / 1.03 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005203/1.057, allocations: 0.4889 MB / 1.343 GB, free: 14.26 MB / 1.03 GB Notification: Performance of setup shared object (initialization): time 7.371e-05/1.057, allocations: 309.1 kB / 1.343 GB, free: 13.95 MB / 1.03 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002563/1.06, allocations: 1.77 MB / 1.345 GB, free: 12.18 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003368/1.063, allocations: 3.152 MB / 1.348 GB, free: 8.504 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006778/1.07, allocations: 5.342 MB / 1.353 GB, free: 2.578 MB / 1.03 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/1.07, allocations: 12 kB / 1.353 GB, free: 2.566 MB / 1.03 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01078/1.081, allocations: 7.225 MB / 1.36 GB, free: 11.27 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/1.081, allocations: 20 kB / 1.36 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.629e-05/1.081, allocations: 40.12 kB / 1.361 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009382/1.09, allocations: 2.265 MB / 1.363 GB, free: 8.938 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004947/1.095, allocations: 1.494 MB / 1.364 GB, free: 7.441 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02146/1.117, allocations: 13.9 MB / 1.378 GB, free: 9.258 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004194/1.121, allocations: 499.5 kB / 1.378 GB, free: 8.766 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003053/1.121, allocations: 248 kB / 1.378 GB, free: 8.523 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.001644/1.123, allocations: 1.031 MB / 1.379 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006296/1.124, allocations: 0.5675 MB / 1.38 GB, free: 6.906 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009688/1.133, allocations: 6.017 MB / 1.386 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.393e-05/1.133, allocations: 60 kB / 1.386 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.133, allocations: 4 kB / 1.386 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.297e-05/1.133, allocations: 31.88 kB / 1.386 GB, free: 0.6953 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.01645/1.15, allocations: 12.46 MB / 1.398 GB, free: 3.84 MB / 1.077 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/1.15, allocations: 4 kB / 1.398 GB, free: 3.836 MB / 1.077 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003836/1.154, allocations: 1.046 MB / 1.399 GB, free: 2.789 MB / 1.077 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003105/1.157, allocations: 0.868 MB / 1.4 GB, free: 1.918 MB / 1.077 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000184/1.157, allocations: 96 kB / 1.4 GB, free: 1.824 MB / 1.077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02076/1.178, allocations: 13.62 MB / 1.413 GB, free: 3.922 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/1.178, allocations: 7.938 kB / 1.413 GB, free: 3.914 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01266/1.19, allocations: 9.618 MB / 1.423 GB, free: 10.01 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/1.192, allocations: 1.013 MB / 1.424 GB, free: 8.969 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005066/1.193, allocations: 100 kB / 1.424 GB, free: 8.871 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002563/1.195, allocations: 210.7 kB / 1.424 GB, free: 8.664 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005354/1.196, allocations: 389.2 kB / 1.424 GB, free: 8.281 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002036/1.196, allocations: 136 kB / 1.425 GB, free: 8.148 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.002524/1.199, allocations: 2.2 MB / 1.427 GB, free: 5.953 MB / 1.108 GB Notification: Performance of sort global known variables: time 1.2e-07/1.199, allocations: 0 / 1.427 GB, free: 5.953 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.004098/1.203, allocations: 2.065 MB / 1.429 GB, free: 3.887 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.009548/1.212, allocations: 7.121 MB / 1.436 GB, free: 12.53 MB / 1.124 GB Notification: Performance of simCode: created initialization part: time 0.01143/1.224, allocations: 7.276 MB / 1.443 GB, free: 5.168 MB / 1.124 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/1.224, allocations: 4 kB / 1.443 GB, free: 5.164 MB / 1.124 GB Notification: Performance of simCode: created simulation system equations: time 0.007663/1.231, allocations: 4.684 MB / 1.447 GB, free: 440 kB / 1.124 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004215/1.236, allocations: 0.555 MB / 1.448 GB, free: 15.88 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.06743/1.303, allocations: 58.01 MB / 1.505 GB, free: 1.227 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002357/1.305, allocations: 3.006 MB / 1.508 GB, free: 14.19 MB / 1.202 GB Notification: Performance of simCode: alias equations: time 0.003164/1.309, allocations: 0.6896 MB / 1.508 GB, free: 13.5 MB / 1.202 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002415/1.311, allocations: 2.378 MB / 1.511 GB, free: 11.12 MB / 1.202 GB Notification: Performance of SimCode: time 7.72e-07/1.311, allocations: 0 / 1.511 GB, free: 11.12 MB / 1.202 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8701/2.181, allocations: 110.9 MB / 1.619 GB, free: 397 MB / 1.28 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/2.181, allocations: 235.5 kB / 1.619 GB, free: 396.7 MB / 1.28 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/4.598, allocations: 1.375 kB / 1.619 GB, free: 396.7 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)