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.001709/0.001709, allocations: 106.1 kB / 17.59 MB, free: 5.453 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.001611/0.001612, allocations: 191.3 kB / 18.52 MB, free: 4.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.343/2.343, allocations: 205.1 MB / 224.4 MB, free: 12.36 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0653/0.0653, allocations: 14.17 MB / 285.9 MB, free: 13.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 6.557/6.557, allocations: 461.2 MB / 0.7793 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.002841/0.002842, allocations: 90.22 kB / 0.961 GB, free: 3.367 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322/2.325, allocations: 172.1 MB / 1.129 GB, free: 28.15 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_1_M_1): time 0.0639/2.389, allocations: 45.47 MB / 1.173 GB, free: 10.83 MB / 0.8892 GB Notification: Performance of NFInst.instExpressions: time 0.0572/2.446, allocations: 16.17 MB / 1.189 GB, free: 13.21 MB / 0.9048 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02353/2.47, allocations: 128.4 kB / 1.189 GB, free: 13.18 MB / 0.9048 GB Notification: Performance of NFTyping.typeComponents: time 0.01948/2.49, allocations: 2.398 MB / 1.192 GB, free: 11.3 MB / 0.9048 GB Notification: Performance of NFTyping.typeBindings: time 0.0493/2.539, allocations: 6.913 MB / 1.198 GB, free: 5.449 MB / 0.9048 GB Notification: Performance of NFTyping.typeClassSections: time 0.009445/2.549, allocations: 1.008 MB / 1.199 GB, free: 4.68 MB / 0.9048 GB Notification: Performance of NFFlatten.flatten: time 0.05057/2.599, allocations: 14.01 MB / 1.213 GB, free: 12.2 MB / 0.9204 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00622/2.606, allocations: 1.016 MB / 1.214 GB, free: 11.7 MB / 0.9204 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02325/2.629, allocations: 4.591 MB / 1.219 GB, free: 9 MB / 0.9204 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02334/2.652, allocations: 5.06 MB / 1.224 GB, free: 5.645 MB / 0.9204 GB Notification: Performance of NFPackage.collectConstants: time 0.00626/2.659, allocations: 499.9 kB / 1.224 GB, free: 5.645 MB / 0.9204 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01797/2.677, allocations: 1.354 MB / 1.225 GB, free: 5.449 MB / 0.9204 GB Notification: Performance of NFScalarize.scalarize: time 0.006068/2.683, allocations: 1.24 MB / 1.227 GB, free: 4.363 MB / 0.9204 GB Notification: Performance of NFVerifyModel.verify: time 0.02738/2.71, allocations: 4.234 MB / 1.231 GB, free: 1.457 MB / 0.9204 GB Notification: Performance of NFConvertDAE.convert: time 0.0393/2.75, allocations: 9.605 MB / 1.24 GB, free: 10.79 MB / 0.936 GB Notification: Performance of FrontEnd - DAE generated: time 1.286e-05/2.75, allocations: 0 / 1.24 GB, free: 10.79 MB / 0.936 GB Notification: Performance of FrontEnd: time 6.482e-06/2.75, allocations: 0 / 1.24 GB, free: 10.79 MB / 0.936 GB Notification: Performance of Transformations before backend: time 0.0006652/2.75, allocations: 1.375 kB / 1.24 GB, free: 10.79 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.06618/2.817, allocations: 11.13 MB / 1.251 GB, free: 3.973 MB / 0.936 GB Notification: Performance of prepare preOptimizeDAE: time 9.154e-05/2.817, allocations: 9.781 kB / 1.251 GB, free: 3.973 MB / 0.936 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004121/2.821, allocations: 0.7486 MB / 1.252 GB, free: 3.395 MB / 0.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/2.831, allocations: 1.114 MB / 1.253 GB, free: 2.848 MB / 0.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0208/2.852, allocations: 4.074 MB / 1.257 GB, free: 15.79 MB / 0.9517 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001152/2.853, allocations: 427.4 kB / 1.257 GB, free: 15.59 MB / 0.9517 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003123/2.856, allocations: 0.5428 MB / 1.258 GB, free: 15.41 MB / 0.9517 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02483/2.881, allocations: 5.83 MB / 1.263 GB, free: 11.73 MB / 0.9517 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001716/2.881, allocations: 12.59 kB / 1.263 GB, free: 11.73 MB / 0.9517 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006167/2.882, allocations: 237.7 kB / 1.264 GB, free: 11.55 MB / 0.9517 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002905/2.882, allocations: 144 kB / 1.264 GB, free: 11.55 MB / 0.9517 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01474/2.897, allocations: 5.713 MB / 1.269 GB, free: 8.781 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.09602/2.993, allocations: 39.2 MB / 1.308 GB, free: 13.7 MB / 0.9985 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01873/3.012, allocations: 7.563 MB / 1.315 GB, free: 6.043 MB / 0.9985 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005887/3.018, allocations: 2.414 MB / 1.317 GB, free: 3.621 MB / 0.9985 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006511/3.019, allocations: 80.59 kB / 1.317 GB, free: 3.539 MB / 0.9985 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/3.019, allocations: 91.25 kB / 1.318 GB, free: 3.438 MB / 0.9985 GB Notification: Performance of pre-optimization done (n=597): time 1.278e-05/3.019, allocations: 0 / 1.318 GB, free: 3.438 MB / 0.9985 GB Notification: Performance of matching and sorting (n=597): time 0.06533/3.084, allocations: 16.01 MB / 1.333 GB, free: 3.285 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000188/3.084, allocations: 116 kB / 1.333 GB, free: 3.156 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01334/3.098, allocations: 3.882 MB / 1.337 GB, free: 15.27 MB / 1.03 GB Notification: Performance of collectPreVariables (initialization): time 0.001473/3.099, allocations: 117.7 kB / 1.337 GB, free: 15.15 MB / 1.03 GB Notification: Performance of collectInitialEqns (initialization): time 0.00296/3.102, allocations: 2.599 MB / 1.34 GB, free: 12.52 MB / 1.03 GB Notification: Performance of collectInitialBindings (initialization): time 0.004695/3.107, allocations: 2.044 MB / 1.342 GB, free: 10.45 MB / 1.03 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002394/3.109, allocations: 1.068 MB / 1.343 GB, free: 9.367 MB / 1.03 GB Notification: Performance of setup shared object (initialization): time 0.0002388/3.11, allocations: 309.1 kB / 1.343 GB, free: 9.062 MB / 1.03 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003621/3.113, allocations: 1.774 MB / 1.345 GB, free: 7.285 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004583/3.118, allocations: 3.148 MB / 1.348 GB, free: 3.609 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009423/3.127, allocations: 5.342 MB / 1.353 GB, free: 13.68 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-05/3.127, allocations: 12 kB / 1.353 GB, free: 13.67 MB / 1.045 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01827/3.146, allocations: 7.236 MB / 1.36 GB, free: 6.359 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 8.713e-05/3.146, allocations: 20.94 kB / 1.36 GB, free: 6.34 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/3.146, allocations: 40 kB / 1.36 GB, free: 6.301 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01131/3.157, allocations: 2.288 MB / 1.362 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007249/3.165, allocations: 1.494 MB / 1.364 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03876/3.203, allocations: 15.15 MB / 1.379 GB, free: 3.059 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01304/3.216, allocations: 472 kB / 1.379 GB, free: 2.594 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00186/3.218, allocations: 248 kB / 1.379 GB, free: 2.352 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.006794/3.225, allocations: 1.027 MB / 1.38 GB, free: 1.312 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00499/3.23, allocations: 0.5636 MB / 1.381 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01858/3.249, allocations: 6.028 MB / 1.387 GB, free: 10.61 MB / 1.077 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.042e-05/3.249, allocations: 56 kB / 1.387 GB, free: 10.56 MB / 1.077 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/3.249, allocations: 7.938 kB / 1.387 GB, free: 10.55 MB / 1.077 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001184/3.249, allocations: 27.89 kB / 1.387 GB, free: 10.52 MB / 1.077 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.04751/3.297, allocations: 13.4 MB / 1.4 GB, free: 12.72 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-05/3.297, allocations: 4 kB / 1.4 GB, free: 12.72 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005422/3.302, allocations: 1.046 MB / 1.401 GB, free: 11.67 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004815/3.307, allocations: 0.8871 MB / 1.402 GB, free: 10.78 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001064/3.308, allocations: 104 kB / 1.402 GB, free: 10.68 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03804/3.346, allocations: 14.83 MB / 1.416 GB, free: 11.55 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/3.346, allocations: 8 kB / 1.416 GB, free: 11.54 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02833/3.375, allocations: 9.843 MB / 1.426 GB, free: 1.402 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008341/3.383, allocations: 1.185 MB / 1.427 GB, free: 196 kB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003639/3.387, allocations: 104 kB / 1.427 GB, free: 92 kB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009142/3.396, allocations: 135.9 kB / 1.427 GB, free: 15.95 MB / 1.124 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001689/3.398, allocations: 397.2 kB / 1.428 GB, free: 15.56 MB / 1.124 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003321/3.398, allocations: 136 kB / 1.428 GB, free: 15.43 MB / 1.124 GB Notification: Performance of sorting global known variables: time 0.007906/3.406, allocations: 2.512 MB / 1.43 GB, free: 12.92 MB / 1.124 GB Notification: Performance of sort global known variables: time 1.5e-07/3.406, allocations: 0 / 1.43 GB, free: 12.92 MB / 1.124 GB Notification: Performance of remove unused functions: time 0.02013/3.426, allocations: 2.248 MB / 1.433 GB, free: 10.67 MB / 1.124 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.0215/3.448, allocations: 7.061 MB / 1.44 GB, free: 3.375 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.04196/3.49, allocations: 7.688 MB / 1.447 GB, free: 11.59 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-05/3.49, allocations: 0 / 1.447 GB, free: 11.59 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 simulation system equations: time 0.01429/3.504, allocations: 4.875 MB / 1.452 GB, free: 6.66 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009307/3.514, allocations: 0.7297 MB / 1.453 GB, free: 5.926 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.1493/3.663, allocations: 59.65 MB / 1.511 GB, free: 4.898 MB / 1.202 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005675/3.669, allocations: 3.008 MB / 1.514 GB, free: 1.859 MB / 1.202 GB Notification: Performance of simCode: alias equations: time 0.005565/3.674, allocations: 0.7053 MB / 1.514 GB, free: 1.148 MB / 1.202 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00527/3.68, allocations: 2.425 MB / 1.517 GB, free: 14.72 MB / 1.217 GB Notification: Performance of SimCode: time 3.166e-06/3.68, allocations: 0 / 1.517 GB, free: 14.72 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.365/6.045, allocations: 131 MB / 1.645 GB, free: 392.6 MB / 1.28 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.71/34.75, allocations: 9.469 kB / 1.645 GB, free: 392.6 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)