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.0009887/0.0009888, allocations: 111.4 kB / 17.29 MB, free: 6.211 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.001332/0.001332, allocations: 197.9 kB / 18.21 MB, free: 5.289 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.001/1.001, 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.05132/0.05132, 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.122/2.122, 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.001414/0.001414, allocations: 91.81 kB / 0.9604 GB, free: 3.746 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6722/0.6736, allocations: 172.1 MB / 1.128 GB, free: 27.95 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_2_M_2): time 0.1485/0.8221, allocations: 246.3 MB / 1.369 GB, free: 2.191 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1065/0.9287, allocations: 82.84 MB / 1.45 GB, free: 15.06 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03353/0.9623, allocations: 0.7241 MB / 1.451 GB, free: 14.34 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.03081/0.9931, allocations: 11.02 MB / 1.461 GB, free: 3.266 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.08033/1.073, allocations: 31.43 MB / 1.492 GB, free: 3.75 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0136/1.087, allocations: 3.625 MB / 1.496 GB, free: 124 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.08696/1.174, allocations: 81.49 MB / 1.575 GB, free: 14.32 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0113/1.185, allocations: 5.376 MB / 1.58 GB, free: 8.855 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7387/1.924, allocations: 22.54 MB / 1.602 GB, free: 41.15 MB / 1.265 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02961/1.954, allocations: 24.41 MB / 1.626 GB, free: 39.39 MB / 1.265 GB Notification: Performance of NFPackage.collectConstants: time 0.008444/1.962, allocations: 2.011 MB / 1.628 GB, free: 39.39 MB / 1.265 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02353/1.986, allocations: 5.64 MB / 1.634 GB, free: 39.39 MB / 1.265 GB Notification: Performance of NFScalarize.scalarize: time 0.006932/1.993, allocations: 5.685 MB / 1.639 GB, free: 37.95 MB / 1.265 GB Notification: Performance of NFVerifyModel.verify: time 0.03489/2.028, allocations: 22.16 MB / 1.661 GB, free: 32.17 MB / 1.265 GB Notification: Performance of NFConvertDAE.convert: time 0.05055/2.078, allocations: 48.67 MB / 1.709 GB, free: 24.38 MB / 1.265 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/2.078, allocations: 3.312 kB / 1.709 GB, free: 24.38 MB / 1.265 GB Notification: Performance of FrontEnd: time 1.443e-06/2.078, allocations: 2.75 kB / 1.709 GB, free: 24.38 MB / 1.265 GB Notification: Performance of Transformations before backend: time 0.001095/2.079, allocations: 0 / 1.709 GB, free: 24.38 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.234, allocations: 56.73 MB / 1.764 GB, free: 7.461 MB / 1.265 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/2.234, allocations: 10.5 kB / 1.764 GB, free: 7.461 MB / 1.265 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007486/2.241, allocations: 3.99 MB / 1.768 GB, free: 6.461 MB / 1.265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02342/2.265, allocations: 6.149 MB / 1.774 GB, free: 3.777 MB / 1.265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03792/2.303, allocations: 20.67 MB / 1.794 GB, free: 10.86 MB / 1.28 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001575/2.304, allocations: 2.318 MB / 1.796 GB, free: 10.79 MB / 1.28 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005241/2.31, allocations: 3.005 MB / 1.799 GB, free: 10.79 MB / 1.28 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0567/2.366, allocations: 32.15 MB / 1.831 GB, free: 15.91 MB / 1.312 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007508/2.367, allocations: 60.38 kB / 1.831 GB, free: 15.88 MB / 1.312 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003768/2.371, allocations: 1.296 MB / 1.832 GB, free: 14.59 MB / 1.312 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004836/2.371, allocations: 0.7809 MB / 1.833 GB, free: 13.81 MB / 1.312 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04777/2.419, allocations: 31.47 MB / 1.863 GB, free: 14.65 MB / 1.343 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.1834/2.603, allocations: 203.3 MB / 2.062 GB, free: 0.7578 MB / 1.546 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07295/2.675, allocations: 53.47 MB / 2.114 GB, free: 13.81 MB / 1.608 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01724/2.693, allocations: 14.29 MB / 2.128 GB, free: 15.48 MB / 1.624 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001562/2.694, allocations: 396.5 kB / 2.129 GB, free: 15.11 MB / 1.624 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/2.695, allocations: 377 kB / 2.129 GB, free: 14.73 MB / 1.624 GB Notification: Performance of pre-optimization done (n=3389): time 3.468e-05/2.695, allocations: 0 / 2.129 GB, free: 14.73 MB / 1.624 GB Notification: Performance of matching and sorting (n=3389): time 0.4322/3.127, allocations: 41.3 MB / 2.169 GB, free: 0.6613 GB / 1.64 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/3.127, allocations: 396.8 kB / 2.17 GB, free: 0.6612 GB / 1.64 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02234/3.149, allocations: 18.09 MB / 2.187 GB, free: 0.6602 GB / 1.64 GB Notification: Performance of collectPreVariables (initialization): time 0.003413/3.153, allocations: 0.5438 MB / 2.188 GB, free: 0.6601 GB / 1.64 GB Notification: Performance of collectInitialEqns (initialization): time 0.006703/3.16, allocations: 14.57 MB / 2.202 GB, free: 0.6584 GB / 1.64 GB Notification: Performance of collectInitialBindings (initialization): time 0.008988/3.169, allocations: 11.62 MB / 2.213 GB, free: 0.6494 GB / 1.64 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006963/3.176, allocations: 5.798 MB / 2.219 GB, free: 0.6466 GB / 1.64 GB Notification: Performance of setup shared object (initialization): time 3.175e-05/3.176, allocations: 302.6 kB / 2.219 GB, free: 0.6463 GB / 1.64 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01295/3.189, allocations: 9.77 MB / 2.229 GB, free: 0.6425 GB / 1.64 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01581/3.204, allocations: 17.28 MB / 2.246 GB, free: 0.6305 GB / 1.64 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07303/3.277, allocations: 29.62 MB / 2.275 GB, free: 0.6112 GB / 1.64 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002114/3.278, allocations: 61.88 kB / 2.275 GB, free: 0.6112 GB / 1.64 GB Notification: Performance of matching and sorting (n=4728) (initialization): time 0.05946/3.337, allocations: 40.48 MB / 2.314 GB, free: 0.5949 GB / 1.64 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/3.337, allocations: 90.69 kB / 2.314 GB, free: 0.5949 GB / 1.64 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002185/3.337, allocations: 200.9 kB / 2.315 GB, free: 0.5949 GB / 1.64 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05001/3.387, allocations: 13.83 MB / 2.328 GB, free: 0.5933 GB / 1.64 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02301/3.411, allocations: 8.233 MB / 2.336 GB, free: 0.5925 GB / 1.64 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1104/3.521, allocations: 80.33 MB / 2.414 GB, free: 0.5253 GB / 1.64 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02406/3.545, allocations: 2.698 MB / 2.417 GB, free: 0.5227 GB / 1.64 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002969/3.548, allocations: 1.305 MB / 2.418 GB, free: 0.5214 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.01085/3.559, allocations: 5.177 MB / 2.423 GB, free: 0.5163 GB / 1.64 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006239/3.565, allocations: 3.1 MB / 2.426 GB, free: 0.5132 GB / 1.64 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0482/3.613, allocations: 34.71 MB / 2.46 GB, free: 490.8 MB / 1.64 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001063/3.613, allocations: 320 kB / 2.461 GB, free: 490.5 MB / 1.64 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.79e-05/3.613, allocations: 4 kB / 2.461 GB, free: 490.5 MB / 1.64 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000224/3.614, allocations: 159.4 kB / 2.461 GB, free: 490.3 MB / 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.08557/3.699, allocations: 70.22 MB / 2.529 GB, free: 419.9 MB / 1.64 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.265e-05/3.699, allocations: 8 kB / 2.529 GB, free: 419.9 MB / 1.64 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01809/3.717, allocations: 5.931 MB / 2.535 GB, free: 413.9 MB / 1.64 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0171/3.735, allocations: 5.239 MB / 2.54 GB, free: 408.7 MB / 1.64 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001407/3.736, allocations: 0.5351 MB / 2.541 GB, free: 408.2 MB / 1.64 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1037/3.84, allocations: 78.15 MB / 2.617 GB, free: 329.6 MB / 1.64 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/3.84, allocations: 8 kB / 2.617 GB, free: 329.6 MB / 1.64 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06535/3.905, allocations: 52.24 MB / 2.668 GB, free: 277 MB / 1.64 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01044/3.916, allocations: 5.264 MB / 2.673 GB, free: 271.7 MB / 1.64 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005147/3.921, allocations: 0.5234 MB / 2.674 GB, free: 271.2 MB / 1.64 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01557/3.936, allocations: 1.141 MB / 2.675 GB, free: 270 MB / 1.64 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003352/3.94, allocations: 2.119 MB / 2.677 GB, free: 267.9 MB / 1.64 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001013/3.941, allocations: 0.7422 MB / 2.678 GB, free: 267.2 MB / 1.64 GB Notification: Performance of sorting global known variables: time 0.01151/3.952, allocations: 11.49 MB / 2.689 GB, free: 255.8 MB / 1.64 GB Notification: Performance of sort global known variables: time 2.5e-07/3.952, allocations: 0 / 2.689 GB, free: 255.8 MB / 1.64 GB Notification: Performance of remove unused functions: time 0.02493/3.977, allocations: 11.52 MB / 2.7 GB, free: 244.3 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.04582/4.023, allocations: 37.4 MB / 2.737 GB, free: 206.7 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 initialization part: time 0.757/4.78, allocations: 43.82 MB / 2.78 GB, free: 162.9 MB / 1.64 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/4.78, allocations: 1 kB / 2.78 GB, free: 162.9 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 simulation system equations: time 0.03682/4.817, allocations: 28.28 MB / 2.807 GB, free: 134.5 MB / 1.64 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0198/4.837, allocations: 2.921 MB / 2.81 GB, free: 131.6 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 0.9818/5.818, allocations: 0.6756 GB / 3.486 GB, free: 79.07 MB / 1.64 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01367/5.832, allocations: 13.75 MB / 3.499 GB, free: 69.57 MB / 1.64 GB Notification: Performance of simCode: alias equations: time 0.01684/5.849, allocations: 3.776 MB / 3.503 GB, free: 66.75 MB / 1.64 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01207/5.861, allocations: 14.97 MB / 3.517 GB, free: 52.74 MB / 1.64 GB Notification: Performance of SimCode: time 6.71e-07/5.861, allocations: 0 / 3.517 GB, free: 52.74 MB / 1.64 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.353/7.214, allocations: 0.6195 GB / 4.137 GB, free: 0.5158 GB / 1.64 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000103/7.214, allocations: 244.1 kB / 4.137 GB, free: 0.5155 GB / 1.64 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.63/15.84, allocations: 0 / 4.137 GB, free: 0.5155 GB / 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)