Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.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_2_M_2,fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids_Models_Type0_Type0_N_2_M_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestGrids.Models.Type0.Type0_N_2_M_2,fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids_Models_Type0_Type0_N_2_M_2",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.0007694/0.0007695, allocations: 96.62 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.0008364/0.0008365, allocations: 182.8 kB / 18.22 MB, free: 5.68 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.058/1.058, 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.05335/0.05335, 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.299/2.299, allocations: 464.4 MB / 0.7842 GB, free: 107.8 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.0005102/0.0005103, allocations: 20 kB / 0.9696 GB, free: 15.49 MB / 0.7483 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7638/0.7643, allocations: 176.2 MB / 1.142 GB, free: 24.85 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_2_M_2): time 0.1508/0.9151, allocations: 239.7 MB / 1.376 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1079/1.023, allocations: 81.69 MB / 1.456 GB, free: 14.92 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03063/1.054, allocations: 0.6968 MB / 1.456 GB, free: 14.22 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.02828/1.082, allocations: 11.01 MB / 1.467 GB, free: 3.16 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.082/1.164, allocations: 31.44 MB / 1.498 GB, free: 3.621 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.01297/1.177, allocations: 3.641 MB / 1.501 GB, free: 15.97 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.08125/1.258, allocations: 77.92 MB / 1.577 GB, free: 1.754 MB / 1.249 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009313/1.268, allocations: 4.96 MB / 1.582 GB, free: 12.7 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.8502/2.118, allocations: 19.47 MB / 1.601 GB, free: 38.12 MB / 1.265 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02931/2.147, allocations: 22.37 MB / 1.623 GB, free: 38.12 MB / 1.265 GB Notification: Performance of NFPackage.collectConstants: time 0.007158/2.154, allocations: 1.065 MB / 1.624 GB, free: 38.12 MB / 1.265 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02171/2.176, allocations: 3.647 MB / 1.628 GB, free: 38.12 MB / 1.265 GB Notification: Performance of NFScalarize.scalarize: time 0.006764/2.183, allocations: 4.701 MB / 1.632 GB, free: 36.79 MB / 1.265 GB Notification: Performance of NFVerifyModel.verify: time 0.03361/2.216, allocations: 20.17 MB / 1.652 GB, free: 30.98 MB / 1.265 GB Notification: Performance of NFConvertDAE.convert: time 0.0488/2.265, allocations: 45.88 MB / 1.697 GB, free: 23.41 MB / 1.265 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/2.265, allocations: 3.469 kB / 1.697 GB, free: 23.41 MB / 1.265 GB Notification: Performance of FrontEnd: time 1.472e-06/2.265, allocations: 0 / 1.697 GB, free: 23.41 MB / 1.265 GB Notification: Performance of Transformations before backend: time 0.001362/2.267, allocations: 3.188 kB / 1.697 GB, free: 23.41 MB / 1.265 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8204 * Number of variables: 8204 Notification: Performance of Generate backend data structure: time 0.1545/2.421, allocations: 49.58 MB / 1.745 GB, free: 3.805 MB / 1.265 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/2.421, allocations: 7.438 kB / 1.745 GB, free: 3.805 MB / 1.265 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006687/2.428, allocations: 3.993 MB / 1.749 GB, free: 2.793 MB / 1.265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02331/2.451, allocations: 6.157 MB / 1.755 GB, free: 116 kB / 1.265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03925/2.49, allocations: 20.68 MB / 1.775 GB, free: 7.191 MB / 1.28 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001478/2.492, allocations: 2.314 MB / 1.778 GB, free: 7.125 MB / 1.28 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004881/2.497, allocations: 3.005 MB / 1.78 GB, free: 7.125 MB / 1.28 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05609/2.553, allocations: 32.76 MB / 1.812 GB, free: 15.9 MB / 1.296 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005077/2.553, allocations: 59.09 kB / 1.813 GB, free: 15.9 MB / 1.296 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002232/2.556, allocations: 1.291 MB / 1.814 GB, free: 15.9 MB / 1.296 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004548/2.556, allocations: 0.7753 MB / 1.815 GB, free: 15.33 MB / 1.296 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04823/2.604, allocations: 31.47 MB / 1.845 GB, free: 0.9805 MB / 1.312 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.1886/2.793, allocations: 203.5 MB / 2.044 GB, free: 2.895 MB / 1.53 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07937/2.872, allocations: 53.48 MB / 2.096 GB, free: 15.93 MB / 1.593 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01905/2.892, allocations: 14.28 MB / 2.11 GB, free: 1.609 MB / 1.593 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/2.893, allocations: 397 kB / 2.111 GB, free: 1.238 MB / 1.593 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/2.893, allocations: 373.1 kB / 2.111 GB, free: 0.8633 MB / 1.593 GB Notification: Performance of pre-optimization done (n=3389): time 3.484e-05/2.893, allocations: 3.938 kB / 2.111 GB, free: 0.8594 MB / 1.593 GB Notification: Performance of matching and sorting (n=3389): time 0.06701/2.96, allocations: 41.32 MB / 2.151 GB, free: 8.023 MB / 1.64 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002266/2.96, allocations: 393.9 kB / 2.152 GB, free: 7.625 MB / 1.64 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4453/3.406, allocations: 18.09 MB / 2.169 GB, free: 0.668 GB / 1.64 GB Notification: Performance of collectPreVariables (initialization): time 0.003352/3.409, allocations: 0.5426 MB / 2.17 GB, free: 0.668 GB / 1.64 GB Notification: Performance of collectInitialEqns (initialization): time 0.008073/3.417, allocations: 14.57 MB / 2.184 GB, free: 0.6663 GB / 1.64 GB Notification: Performance of collectInitialBindings (initialization): time 0.009245/3.426, allocations: 11.62 MB / 2.195 GB, free: 0.6574 GB / 1.64 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002987/3.429, allocations: 2.686 MB / 2.198 GB, free: 0.6562 GB / 1.64 GB Notification: Performance of setup shared object (initialization): time 3.322e-05/3.43, allocations: 305.1 kB / 2.198 GB, free: 0.6559 GB / 1.64 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01399/3.444, allocations: 9.775 MB / 2.208 GB, free: 0.6521 GB / 1.64 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01704/3.461, allocations: 17.28 MB / 2.225 GB, free: 0.6401 GB / 1.64 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07683/3.537, allocations: 29.61 MB / 2.254 GB, free: 0.6208 GB / 1.64 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002514/3.538, allocations: 61.84 kB / 2.254 GB, free: 0.6208 GB / 1.64 GB Notification: Performance of matching and sorting (n=4728) (initialization): time 0.0664/3.604, allocations: 40.48 MB / 2.293 GB, free: 0.6046 GB / 1.64 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001718/3.604, allocations: 92.59 kB / 2.293 GB, free: 0.6046 GB / 1.64 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003056/3.605, allocations: 201.9 kB / 2.294 GB, free: 0.6046 GB / 1.64 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05256/3.657, allocations: 13.7 MB / 2.307 GB, free: 0.6031 GB / 1.64 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02525/3.682, allocations: 8.222 MB / 2.315 GB, free: 0.6023 GB / 1.64 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1135/3.796, allocations: 73.62 MB / 2.387 GB, free: 0.5419 GB / 1.64 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02717/3.823, allocations: 2.685 MB / 2.389 GB, free: 0.5393 GB / 1.64 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002469/3.826, allocations: 1.312 MB / 2.391 GB, free: 0.538 GB / 1.64 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 926 * 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 (3816): * Single equations (assignments): 3814 * 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 {(900,0), (14,0)} Notification: Performance of prepare postOptimizeDAE: time 0.01011/3.836, allocations: 5.173 MB / 2.396 GB, free: 0.533 GB / 1.64 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005226/3.841, allocations: 3.1 MB / 2.399 GB, free: 0.5299 GB / 1.64 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04917/3.89, allocations: 34.7 MB / 2.433 GB, free: 0.4993 GB / 1.64 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001206/3.89, allocations: 320 kB / 2.433 GB, free: 0.499 GB / 1.64 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.994e-05/3.89, allocations: 0 / 2.433 GB, free: 0.499 GB / 1.64 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001947/3.891, allocations: 159.4 kB / 2.433 GB, free: 0.4989 GB / 1.64 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.08803/3.979, allocations: 70.23 MB / 2.502 GB, free: 440.4 MB / 1.64 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.853e-05/3.979, allocations: 4 kB / 2.502 GB, free: 440.4 MB / 1.64 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01972/3.998, allocations: 5.927 MB / 2.508 GB, free: 434.5 MB / 1.64 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01749/4.016, allocations: 5.118 MB / 2.513 GB, free: 429.4 MB / 1.64 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001058/4.017, allocations: 0.5351 MB / 2.513 GB, free: 428.8 MB / 1.64 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1051/4.122, allocations: 71.54 MB / 2.583 GB, free: 356.9 MB / 1.64 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/4.122, allocations: 11.94 kB / 2.583 GB, free: 356.9 MB / 1.64 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06708/4.189, allocations: 52.01 MB / 2.634 GB, free: 304.6 MB / 1.64 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01035/4.2, allocations: 5.26 MB / 2.639 GB, free: 299.2 MB / 1.64 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003739/4.203, allocations: 0.5273 MB / 2.639 GB, free: 298.7 MB / 1.64 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01513/4.218, allocations: 1.141 MB / 2.64 GB, free: 297.6 MB / 1.64 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0033/4.222, allocations: 2.099 MB / 2.643 GB, free: 295.5 MB / 1.64 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001026/4.223, allocations: 0.7422 MB / 2.643 GB, free: 294.7 MB / 1.64 GB Notification: Performance of sorting global known variables: time 0.01213/4.235, allocations: 11.5 MB / 2.654 GB, free: 283.4 MB / 1.64 GB Notification: Performance of sort global known variables: time 1.31e-07/4.235, allocations: 0 / 2.654 GB, free: 283.4 MB / 1.64 GB Notification: Performance of remove unused functions: time 0.02672/4.262, allocations: 11.52 MB / 2.666 GB, free: 271.8 MB / 1.64 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (2497): * Single equations (assignments): 2495 * 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), (880,0)} Notification: Performance of Backend phase and start with SimCode phase: time 0.05022/4.312, allocations: 38.83 MB / 2.704 GB, free: 232.4 MB / 1.64 GB Notification: Performance of simCode: created initialization part: time 0.06112/4.373, allocations: 41.25 MB / 2.744 GB, free: 191.1 MB / 1.64 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/4.373, allocations: 3.938 kB / 2.744 GB, free: 191.1 MB / 1.64 GB Notification: Performance of simCode: created simulation system equations: time 0.04192/4.415, allocations: 26.88 MB / 2.77 GB, free: 164.2 MB / 1.64 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03596/4.451, allocations: 2.882 MB / 2.773 GB, free: 161.3 MB / 1.64 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 1.077/5.528, allocations: 0.6755 GB / 3.449 GB, free: 92.28 MB / 1.64 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01355/5.542, allocations: 13.76 MB / 3.462 GB, free: 83.19 MB / 1.64 GB Notification: Performance of simCode: alias equations: time 0.0173/5.559, allocations: 3.77 MB / 3.466 GB, free: 80.57 MB / 1.64 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01259/5.572, allocations: 14.96 MB / 3.48 GB, free: 66.56 MB / 1.64 GB Notification: Performance of SimCode: time 6.61e-07/5.572, allocations: 0 / 3.48 GB, free: 66.56 MB / 1.64 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.778/13.35, allocations: 0.5918 GB / 4.072 GB, free: 198.8 MB / 1.64 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/13.35, allocations: 242.5 kB / 4.072 GB, free: 198.5 MB / 1.64 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.745/22.1, allocations: 3.938 kB / 4.072 GB, free: 198.5 MB / 1.64 GB (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ScalableTestGrids_noopt_ScalableTestGrids_Models_Type0_Type0_N_2_M_2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ScalableTestGrids_noopt_ScalableTestGrids_Models_Type0_Type0_N_2_M_2.fmu > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe 2>&1)