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.002612/0.002612, allocations: 108.8 kB / 17.59 MB, free: 5.43 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.002899/0.002899, allocations: 191.3 kB / 18.52 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.155/3.155, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.1195/0.1195, allocations: 14.16 MB / 285.9 MB, free: 13.96 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 8.511/8.511, 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.005277/0.005278, allocations: 87.88 kB / 0.961 GB, free: 3.363 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126/3.131, allocations: 172.1 MB / 1.129 GB, free: 28.14 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_2_M_2): time 0.4672/3.599, allocations: 243.8 MB / 1.367 GB, free: 4.504 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.3494/3.948, allocations: 82.2 MB / 1.447 GB, free: 2.016 MB / 1.124 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1583/4.107, allocations: 0.6815 MB / 1.448 GB, free: 1.332 MB / 1.124 GB Notification: Performance of NFTyping.typeComponents: time 0.1161/4.223, allocations: 12.77 MB / 1.461 GB, free: 4.484 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.3359/4.559, allocations: 34.55 MB / 1.494 GB, free: 1.801 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.057/4.616, allocations: 3.94 MB / 1.498 GB, free: 13.86 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.2562/4.872, allocations: 77.06 MB / 1.573 GB, free: 0.5039 MB / 1.249 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04235/4.915, allocations: 5.364 MB / 1.579 GB, free: 11.05 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 3.627/8.542, allocations: 25.21 MB / 1.603 GB, free: 40.77 MB / 1.265 GB Notification: Performance of NFSimplifyModel.simplify: time 0.146/8.688, allocations: 27.86 MB / 1.63 GB, free: 39.18 MB / 1.265 GB Notification: Performance of NFPackage.collectConstants: time 0.04607/8.734, allocations: 2.689 MB / 1.633 GB, free: 39.18 MB / 1.265 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1009/8.835, allocations: 6.315 MB / 1.639 GB, free: 39.18 MB / 1.265 GB Notification: Performance of NFScalarize.scalarize: time 0.04091/8.876, allocations: 6.821 MB / 1.646 GB, free: 37.73 MB / 1.265 GB Notification: Performance of NFVerifyModel.verify: time 0.1684/9.044, allocations: 23.29 MB / 1.669 GB, free: 31.96 MB / 1.265 GB Notification: Performance of NFConvertDAE.convert: time 0.2745/9.319, allocations: 51.97 MB / 1.719 GB, free: 24.16 MB / 1.265 GB Notification: Performance of FrontEnd - DAE generated: time 3.341e-05/9.319, allocations: 3.375 kB / 1.719 GB, free: 24.16 MB / 1.265 GB Notification: Performance of FrontEnd: time 6.823e-06/9.319, allocations: 2.406 kB / 1.719 GB, free: 24.16 MB / 1.265 GB Notification: Performance of Transformations before backend: time 0.006476/9.326, allocations: 0 / 1.719 GB, free: 24.16 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.5154/9.841, allocations: 59.83 MB / 1.778 GB, free: 4.855 MB / 1.265 GB Notification: Performance of prepare preOptimizeDAE: time 7.837e-05/9.841, allocations: 10.81 kB / 1.778 GB, free: 4.855 MB / 1.265 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.04116/9.883, allocations: 3.989 MB / 1.782 GB, free: 3.855 MB / 1.265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08068/9.963, allocations: 6.148 MB / 1.788 GB, free: 1.168 MB / 1.265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1635/10.13, allocations: 21.81 MB / 1.809 GB, free: 6.68 MB / 1.28 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.008802/10.14, allocations: 2.313 MB / 1.811 GB, free: 4.863 MB / 1.28 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03225/10.17, allocations: 3.008 MB / 1.814 GB, free: 1.855 MB / 1.28 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2448/10.41, allocations: 32.15 MB / 1.846 GB, free: 0.5898 MB / 1.312 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.005754/10.42, allocations: 65.5 kB / 1.846 GB, free: 0.5625 MB / 1.312 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03061/10.45, allocations: 1.292 MB / 1.847 GB, free: 15.28 MB / 1.327 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001847/10.45, allocations: 0.7773 MB / 1.848 GB, free: 14.5 MB / 1.327 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1873/10.64, allocations: 31.47 MB / 1.878 GB, free: 15.33 MB / 1.358 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.8524/11.49, allocations: 218.9 MB / 2.092 GB, free: 1.766 MB / 1.577 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2102/11.7, allocations: 53.49 MB / 2.144 GB, free: 14.81 MB / 1.64 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0713/11.77, allocations: 14.28 MB / 2.158 GB, free: 496 kB / 1.64 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008315/11.78, allocations: 393 kB / 2.159 GB, free: 116 kB / 1.64 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.868/13.65, allocations: 373.9 kB / 2.159 GB, free: 0.6505 GB / 1.64 GB Notification: Performance of pre-optimization done (n=3389): time 0.0007541/13.65, allocations: 2.031 kB / 2.159 GB, free: 0.6505 GB / 1.64 GB Notification: Performance of matching and sorting (n=3389): time 0.3059/13.96, allocations: 41.3 MB / 2.199 GB, free: 0.6486 GB / 1.64 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001777/13.96, allocations: 397.5 kB / 2.2 GB, free: 0.6485 GB / 1.64 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1421/14.1, allocations: 20.43 MB / 2.22 GB, free: 0.6448 GB / 1.64 GB Notification: Performance of collectPreVariables (initialization): time 0.01523/14.12, allocations: 0.5429 MB / 2.22 GB, free: 0.6444 GB / 1.64 GB Notification: Performance of collectInitialEqns (initialization): time 0.03747/14.15, allocations: 14.53 MB / 2.235 GB, free: 0.6358 GB / 1.64 GB Notification: Performance of collectInitialBindings (initialization): time 0.04916/14.2, allocations: 11.65 MB / 2.246 GB, free: 0.6269 GB / 1.64 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.06702/14.27, allocations: 5.797 MB / 2.252 GB, free: 0.624 GB / 1.64 GB Notification: Performance of setup shared object (initialization): time 0.0002274/14.27, allocations: 305.1 kB / 2.252 GB, free: 0.6237 GB / 1.64 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06382/14.33, allocations: 9.775 MB / 2.261 GB, free: 0.6199 GB / 1.64 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08776/14.42, allocations: 17.28 MB / 2.278 GB, free: 0.6079 GB / 1.64 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2294/14.65, allocations: 29.62 MB / 2.307 GB, free: 0.5886 GB / 1.64 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001661/14.65, allocations: 58.62 kB / 2.307 GB, free: 0.5886 GB / 1.64 GB Notification: Performance of matching and sorting (n=4728) (initialization): time 0.2733/14.93, allocations: 40.48 MB / 2.347 GB, free: 0.5722 GB / 1.64 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002907/14.93, allocations: 91.53 kB / 2.347 GB, free: 0.5722 GB / 1.64 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00092/14.93, allocations: 206.3 kB / 2.347 GB, free: 0.5722 GB / 1.64 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08888/15.02, allocations: 13.82 MB / 2.361 GB, free: 0.567 GB / 1.64 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05383/15.07, allocations: 8.227 MB / 2.369 GB, free: 0.56 GB / 1.64 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3336/15.41, allocations: 80.5 MB / 2.447 GB, free: 0.4906 GB / 1.64 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1045/15.51, allocations: 2.514 MB / 2.45 GB, free: 499.8 MB / 1.64 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0207/15.53, allocations: 1.311 MB / 2.451 GB, free: 498.5 MB / 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.06958/15.6, allocations: 5.176 MB / 2.456 GB, free: 493.3 MB / 1.64 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.04607/15.65, allocations: 3.108 MB / 2.459 GB, free: 490.2 MB / 1.64 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2167/15.86, allocations: 34.7 MB / 2.493 GB, free: 457.1 MB / 1.64 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007335/15.86, allocations: 320 kB / 2.493 GB, free: 456.8 MB / 1.64 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002015/15.86, allocations: 0 / 2.493 GB, free: 456.8 MB / 1.64 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002308/15.87, allocations: 159.4 kB / 2.493 GB, free: 456.6 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.4013/16.27, allocations: 75.38 MB / 2.567 GB, free: 381 MB / 1.64 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004449/16.27, allocations: 8 kB / 2.567 GB, free: 381 MB / 1.64 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0394/16.31, allocations: 5.931 MB / 2.573 GB, free: 375.1 MB / 1.64 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03545/16.34, allocations: 5.239 MB / 2.578 GB, free: 369.8 MB / 1.64 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.01263/16.36, allocations: 0.539 MB / 2.578 GB, free: 369.3 MB / 1.64 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3609/16.72, allocations: 78.17 MB / 2.655 GB, free: 290.7 MB / 1.64 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/16.72, allocations: 8 kB / 2.655 GB, free: 290.7 MB / 1.64 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2907/17.01, allocations: 52.24 MB / 2.706 GB, free: 238.1 MB / 1.64 GB Notification: Performance of postOpt removeConstants (simulation): time 0.06148/17.07, allocations: 6.192 MB / 2.712 GB, free: 231.9 MB / 1.64 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03467/17.1, allocations: 0.5273 MB / 2.712 GB, free: 231.4 MB / 1.64 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.07029/17.17, allocations: 0.7607 MB / 2.713 GB, free: 230.6 MB / 1.64 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.02133/17.2, allocations: 2.111 MB / 2.715 GB, free: 228.5 MB / 1.64 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01268/17.21, allocations: 0.7461 MB / 2.716 GB, free: 227.7 MB / 1.64 GB Notification: Performance of sorting global known variables: time 0.06991/17.28, allocations: 13.21 MB / 2.729 GB, free: 214.7 MB / 1.64 GB Notification: Performance of sort global known variables: time 1.152e-06/17.28, allocations: 0 / 2.729 GB, free: 214.7 MB / 1.64 GB Notification: Performance of remove unused functions: time 0.144/17.42, allocations: 12.54 MB / 2.741 GB, free: 202.1 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.2193/17.64, allocations: 37.39 MB / 2.778 GB, free: 164.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 initialization part: time 2.17/19.81, allocations: 43.83 MB / 2.82 GB, free: 120.7 MB / 1.64 GB Notification: Performance of simCode: created event and clocks part: time 2.147e-05/19.81, allocations: 0 / 2.82 GB, free: 120.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 simulation system equations: time 1.473/21.29, allocations: 28.28 MB / 2.848 GB, free: 0.619 GB / 1.64 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0918/21.38, allocations: 3.91 MB / 2.852 GB, free: 0.6188 GB / 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 2.36/23.74, allocations: 0.7319 GB / 3.584 GB, free: 0.6002 GB / 1.64 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06621/23.8, allocations: 13.76 MB / 3.597 GB, free: 0.5987 GB / 1.64 GB Notification: Performance of simCode: alias equations: time 0.05778/23.86, allocations: 3.883 MB / 3.601 GB, free: 0.5981 GB / 1.64 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05822/23.92, allocations: 15.21 MB / 3.616 GB, free: 0.5859 GB / 1.64 GB Notification: Performance of SimCode: time 2.966e-06/23.92, allocations: 0 / 3.616 GB, free: 0.5859 GB / 1.64 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.998/26.92, allocations: 0.693 GB / 4.309 GB, free: 457.1 MB / 1.64 GB Notification: Performance of buildModelFMU: Generate platform static: time 51.49/78.41, allocations: 2.938 kB / 4.309 GB, free: 457.1 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)