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.001711/0.001712, allocations: 104.9 kB / 17.17 MB, free: 6.316 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.001729/0.001729, allocations: 189.9 kB / 18.08 MB, free: 5.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.021/1.021, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05249/0.05249, allocations: 14.16 MB / 285.4 MB, free: 14.14 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 2.202/2.202, allocations: 461.2 MB / 0.7788 GB, free: 107.4 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: 87.81 kB / 0.9602 GB, free: 3.867 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6856/0.6871, allocations: 172.1 MB / 1.128 GB, free: 27.98 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_1_M_1): time 0.02318/0.7103, allocations: 46 MB / 1.173 GB, free: 10.19 MB / 0.8892 GB Notification: Performance of NFInst.instExpressions: time 0.0213/0.7317, allocations: 16.27 MB / 1.189 GB, free: 12.84 MB / 0.9048 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005351/0.737, allocations: 133.1 kB / 1.189 GB, free: 12.81 MB / 0.9048 GB Notification: Performance of NFTyping.typeComponents: time 0.005228/0.7423, allocations: 2.067 MB / 1.191 GB, free: 11.26 MB / 0.9048 GB Notification: Performance of NFTyping.typeBindings: time 0.01479/0.7571, allocations: 6.341 MB / 1.197 GB, free: 5.98 MB / 0.9048 GB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.7592, allocations: 0.9509 MB / 1.198 GB, free: 5.266 MB / 0.9048 GB Notification: Performance of NFFlatten.flatten: time 0.01379/0.773, allocations: 14.16 MB / 1.212 GB, free: 13.23 MB / 0.9204 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.7743, allocations: 0.944 MB / 1.213 GB, free: 12.76 MB / 0.9204 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004903/0.7792, allocations: 3.584 MB / 1.217 GB, free: 10.78 MB / 0.9204 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003661/0.7829, allocations: 4.11 MB / 1.221 GB, free: 8.223 MB / 0.9204 GB Notification: Performance of NFPackage.collectConstants: time 0.0004077/0.7833, allocations: 219.7 kB / 1.221 GB, free: 8.223 MB / 0.9204 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.7857, allocations: 0.8886 MB / 1.222 GB, free: 8.027 MB / 0.9204 GB Notification: Performance of NFScalarize.scalarize: time 0.0006043/0.7863, allocations: 0.8834 MB / 1.223 GB, free: 7.293 MB / 0.9204 GB Notification: Performance of NFVerifyModel.verify: time 0.003011/0.7894, allocations: 3.693 MB / 1.226 GB, free: 4.926 MB / 0.9204 GB Notification: Performance of NFConvertDAE.convert: time 0.007389/0.7967, allocations: 8.726 MB / 1.235 GB, free: 14.86 MB / 0.936 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.7968, allocations: 5.406 kB / 1.235 GB, free: 14.85 MB / 0.936 GB Notification: Performance of FrontEnd: time 9.02e-07/0.7968, allocations: 0 / 1.235 GB, free: 14.85 MB / 0.936 GB Notification: Performance of Transformations before backend: time 8.1e-05/0.7969, allocations: 0 / 1.235 GB, free: 14.85 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.02934/0.8262, allocations: 10.48 MB / 1.245 GB, free: 8.371 MB / 0.936 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.8262, allocations: 9.75 kB / 1.245 GB, free: 8.371 MB / 0.936 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007308/0.827, allocations: 0.7449 MB / 1.246 GB, free: 7.797 MB / 0.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0039/0.8309, allocations: 1.122 MB / 1.247 GB, free: 7.242 MB / 0.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005915/0.8368, allocations: 3.865 MB / 1.251 GB, free: 4.332 MB / 0.936 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/0.8371, allocations: 428.4 kB / 1.251 GB, free: 4.141 MB / 0.936 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000564/0.8376, allocations: 0.5513 MB / 1.251 GB, free: 3.953 MB / 0.936 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007531/0.8452, allocations: 5.827 MB / 1.257 GB, free: 284 kB / 0.936 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.079e-05/0.8453, allocations: 12.12 kB / 1.257 GB, free: 276 kB / 0.936 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003892/0.8457, allocations: 237.1 kB / 1.257 GB, free: 92 kB / 0.936 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.551e-05/0.8457, allocations: 147.8 kB / 1.258 GB, free: 88 kB / 0.936 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007824/0.8536, allocations: 5.714 MB / 1.263 GB, free: 13.32 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.03114/0.8847, allocations: 36.41 MB / 1.299 GB, free: 6.312 MB / 0.9829 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009978/0.8947, allocations: 7.571 MB / 1.306 GB, free: 14.66 MB / 0.9985 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002897/0.8976, allocations: 2.414 MB / 1.308 GB, free: 12.23 MB / 0.9985 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/0.8979, allocations: 72.66 kB / 1.308 GB, free: 12.16 MB / 0.9985 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.469e-05/0.8979, allocations: 95.25 kB / 1.309 GB, free: 12.05 MB / 0.9985 GB Notification: Performance of pre-optimization done (n=597): time 6.532e-06/0.898, allocations: 0 / 1.309 GB, free: 12.05 MB / 0.9985 GB Notification: Performance of matching and sorting (n=597): time 0.04467/0.9426, allocations: 16.01 MB / 1.324 GB, free: 11.9 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.9427, allocations: 116.1 kB / 1.324 GB, free: 11.77 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00355/0.9463, allocations: 3.457 MB / 1.328 GB, free: 8.309 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001973/0.9465, allocations: 121.7 kB / 1.328 GB, free: 8.184 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00153/0.948, allocations: 2.587 MB / 1.33 GB, free: 5.566 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001323/0.9493, allocations: 2.044 MB / 1.332 GB, free: 3.492 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/0.9506, allocations: 1.068 MB / 1.333 GB, free: 2.414 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.9507, allocations: 309.1 kB / 1.334 GB, free: 2.109 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002506/0.9532, allocations: 1.766 MB / 1.335 GB, free: 348 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00333/0.9566, allocations: 3.159 MB / 1.338 GB, free: 12.66 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006679/0.9633, allocations: 5.338 MB / 1.344 GB, free: 6.734 MB / 1.03 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.399e-05/0.9633, allocations: 12 kB / 1.344 GB, free: 6.723 MB / 1.03 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01068/0.974, allocations: 7.229 MB / 1.351 GB, free: 15.41 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.974, allocations: 20 kB / 1.351 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.444e-05/0.9741, allocations: 36 kB / 1.351 GB, free: 15.36 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009408/0.9835, allocations: 2.269 MB / 1.353 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004614/0.9881, allocations: 1.498 MB / 1.355 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02109/1.009, allocations: 13.76 MB / 1.368 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003889/1.013, allocations: 0.4995 MB / 1.368 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003409/1.013, allocations: 251.9 kB / 1.369 GB, free: 12.8 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.001575/1.015, allocations: 1.027 MB / 1.37 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006937/1.016, allocations: 0.5714 MB / 1.37 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00931/1.025, allocations: 6.032 MB / 1.376 GB, free: 5.047 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-05/1.025, allocations: 56 kB / 1.376 GB, free: 4.992 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.025, allocations: 0 / 1.376 GB, free: 4.992 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.603e-05/1.025, allocations: 31.89 kB / 1.376 GB, free: 4.961 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.01716/1.042, allocations: 12.45 MB / 1.388 GB, free: 8.109 MB / 1.077 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/1.042, allocations: 4 kB / 1.388 GB, free: 8.105 MB / 1.077 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003688/1.046, allocations: 1.05 MB / 1.389 GB, free: 7.055 MB / 1.077 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003156/1.049, allocations: 0.8558 MB / 1.39 GB, free: 6.195 MB / 1.077 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002447/1.049, allocations: 108 kB / 1.39 GB, free: 6.09 MB / 1.077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02025/1.07, allocations: 13.48 MB / 1.403 GB, free: 8.328 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.07, allocations: 8 kB / 1.404 GB, free: 8.32 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/1.082, allocations: 9.61 MB / 1.413 GB, free: 14.42 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/1.084, allocations: 1.017 MB / 1.414 GB, free: 13.38 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007112/1.085, allocations: 100 kB / 1.414 GB, free: 13.28 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002544/1.088, allocations: 206.7 kB / 1.414 GB, free: 13.08 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005662/1.088, allocations: 397.2 kB / 1.415 GB, free: 12.69 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002184/1.088, allocations: 136 kB / 1.415 GB, free: 12.55 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.002589/1.091, allocations: 2.2 MB / 1.417 GB, free: 10.36 MB / 1.108 GB Notification: Performance of sort global known variables: time 1.8e-07/1.091, allocations: 0 / 1.417 GB, free: 10.36 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.004143/1.095, allocations: 2.061 MB / 1.419 GB, free: 8.297 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.009792/1.105, allocations: 7.057 MB / 1.426 GB, free: 1 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.01079/1.116, allocations: 7.233 MB / 1.433 GB, free: 9.684 MB / 1.124 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.116, allocations: 0 / 1.433 GB, free: 9.684 MB / 1.124 GB Notification: Performance of simCode: created simulation system equations: time 0.00716/1.123, allocations: 4.618 MB / 1.437 GB, free: 5.02 MB / 1.124 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/1.125, allocations: 0.5596 MB / 1.438 GB, free: 4.461 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 linear, non-linear and system jacobian parts: time 0.06779/1.193, allocations: 57.97 MB / 1.494 GB, free: 5.84 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002192/1.195, allocations: 3.006 MB / 1.497 GB, free: 2.805 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002969/1.198, allocations: 0.6896 MB / 1.498 GB, free: 2.109 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002295/1.201, allocations: 2.378 MB / 1.5 GB, free: 15.73 MB / 1.202 GB Notification: Performance of SimCode: time 1.562e-06/1.201, allocations: 0 / 1.5 GB, free: 15.73 MB / 1.202 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.688/1.889, allocations: 112.6 MB / 1.61 GB, free: 395.4 MB / 1.28 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001051/1.889, allocations: 234.4 kB / 1.611 GB, free: 395.2 MB / 1.28 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/4.041, allocations: 4.578 kB / 1.611 GB, free: 395.2 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)