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.001295/0.001295, allocations: 120.3 kB / 17.75 MB, free: 5.305 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.001227/0.001227, allocations: 183 kB / 18.68 MB, free: 4.379 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.457/1.457, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0714/0.0714, allocations: 14.16 MB / 286.1 MB, free: 13.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.572/3.572, allocations: 461.2 MB / 0.7795 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.002698/0.002698, allocations: 95.88 kB / 1.13 GB, free: 22.74 MB / 0.8735 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3349, allocations: 172.1 MB / 1.298 GB, free: 8.188 MB / 0.9829 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_1_M_1): time 0.0472/0.3821, allocations: 45.46 MB / 1.342 GB, free: 10.55 MB / 1.03 GB Notification: Performance of NFInst.instExpressions: time 0.03054/0.4127, allocations: 16.19 MB / 1.358 GB, free: 10.3 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008571/0.4213, allocations: 127.6 kB / 1.358 GB, free: 10.18 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.008914/0.4303, allocations: 2.384 MB / 1.361 GB, free: 7.777 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.02317/0.4535, allocations: 6.911 MB / 1.367 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004452/0.458, allocations: 1.013 MB / 1.368 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.02337/0.4814, allocations: 14.07 MB / 1.382 GB, free: 1.703 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003628/0.485, allocations: 1.028 MB / 1.383 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009954/0.495, allocations: 4.611 MB / 1.387 GB, free: 12.01 MB / 1.077 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0106/0.5057, allocations: 5.062 MB / 1.392 GB, free: 6.926 MB / 1.077 GB Notification: Performance of NFPackage.collectConstants: time 0.002296/0.508, allocations: 500 kB / 1.393 GB, free: 6.438 MB / 1.077 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006712/0.5147, allocations: 1.351 MB / 1.394 GB, free: 5.086 MB / 1.077 GB Notification: Performance of NFScalarize.scalarize: time 0.001771/0.5165, allocations: 1.24 MB / 1.395 GB, free: 3.84 MB / 1.077 GB Notification: Performance of NFVerifyModel.verify: time 0.009365/0.5259, allocations: 4.222 MB / 1.4 GB, free: 15.59 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01843/0.5444, allocations: 10.21 MB / 1.41 GB, free: 5.348 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5444, allocations: 0 / 1.41 GB, free: 5.348 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5444, allocations: 0 / 1.41 GB, free: 5.348 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002585/0.5447, allocations: 0 / 1.41 GB, free: 5.348 MB / 1.092 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.04416/0.5888, allocations: 11.2 MB / 1.42 GB, free: 10.05 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.5889, allocations: 15.97 kB / 1.42 GB, free: 10.04 MB / 1.108 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001203/0.5901, allocations: 0.7386 MB / 1.421 GB, free: 9.289 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005567/0.5957, allocations: 1.16 MB / 1.422 GB, free: 8.125 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0117/0.6074, allocations: 4.198 MB / 1.426 GB, free: 3.867 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003856/0.6078, allocations: 432 kB / 1.427 GB, free: 3.445 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001048/0.6089, allocations: 0.5472 MB / 1.427 GB, free: 2.898 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/0.62, allocations: 5.822 MB / 1.433 GB, free: 12.85 MB / 1.124 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.642e-05/0.6202, allocations: 15.88 kB / 1.433 GB, free: 12.84 MB / 1.124 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004925/0.6207, allocations: 240 kB / 1.433 GB, free: 12.6 MB / 1.124 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/0.6208, allocations: 147.9 kB / 1.433 GB, free: 12.46 MB / 1.124 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/0.6315, allocations: 5.707 MB / 1.439 GB, free: 6.742 MB / 1.124 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.06768/0.6992, allocations: 39.05 MB / 1.477 GB, free: 11.83 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01505/0.7143, allocations: 7.558 MB / 1.485 GB, free: 4.188 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004781/0.7191, allocations: 2.414 MB / 1.487 GB, free: 1.762 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004762/0.7196, allocations: 72.66 kB / 1.487 GB, free: 1.688 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/0.7198, allocations: 99.19 kB / 1.487 GB, free: 1.578 MB / 1.17 GB Notification: Performance of pre-optimization done (n=597): time 1.022e-05/0.7198, allocations: 0 / 1.487 GB, free: 1.578 MB / 1.17 GB Notification: Performance of matching and sorting (n=597): time 0.06147/0.7813, allocations: 16.03 MB / 1.503 GB, free: 1.402 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.7815, allocations: 112.1 kB / 1.503 GB, free: 1.277 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009011/0.7905, allocations: 3.883 MB / 1.507 GB, free: 13.39 MB / 1.202 GB Notification: Performance of collectPreVariables (initialization): time 0.0007943/0.7913, allocations: 125.6 kB / 1.507 GB, free: 13.26 MB / 1.202 GB Notification: Performance of collectInitialEqns (initialization): time 0.002862/0.7942, allocations: 2.677 MB / 1.509 GB, free: 10.56 MB / 1.202 GB Notification: Performance of collectInitialBindings (initialization): time 0.003563/0.7978, allocations: 2.145 MB / 1.511 GB, free: 8.398 MB / 1.202 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003448/0.8012, allocations: 1.073 MB / 1.512 GB, free: 7.316 MB / 1.202 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.8014, allocations: 305.1 kB / 1.513 GB, free: 7.016 MB / 1.202 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004107/0.8055, allocations: 1.77 MB / 1.515 GB, free: 5.242 MB / 1.202 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005585/0.8111, allocations: 3.152 MB / 1.518 GB, free: 1.566 MB / 1.202 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009163/0.8203, allocations: 5.342 MB / 1.523 GB, free: 11.64 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.7e-05/0.8204, allocations: 8 kB / 1.523 GB, free: 11.63 MB / 1.217 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.0155/0.8359, allocations: 7.255 MB / 1.53 GB, free: 4.305 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 5.549e-05/0.836, allocations: 24 kB / 1.53 GB, free: 4.281 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.383e-05/0.836, allocations: 36 kB / 1.53 GB, free: 4.246 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01101/0.8471, allocations: 2.261 MB / 1.532 GB, free: 1.977 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006423/0.8535, allocations: 1.494 MB / 1.534 GB, free: 492 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0295/0.883, allocations: 15.14 MB / 1.548 GB, free: 1.039 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007533/0.8906, allocations: 489.1 kB / 1.549 GB, free: 0.5586 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009279/0.8916, allocations: 240 kB / 1.549 GB, free: 332 kB / 1.233 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.003035/0.8946, allocations: 1.027 MB / 1.55 GB, free: 15.29 MB / 1.249 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002283/0.8969, allocations: 0.594 MB / 1.551 GB, free: 14.69 MB / 1.249 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01225/0.9091, allocations: 6.033 MB / 1.557 GB, free: 8.555 MB / 1.249 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.365e-05/0.9092, allocations: 56 kB / 1.557 GB, free: 8.5 MB / 1.249 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.9093, allocations: 3.938 kB / 1.557 GB, free: 8.496 MB / 1.249 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.935e-05/0.9093, allocations: 27.89 kB / 1.557 GB, free: 8.469 MB / 1.249 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.02582/0.9352, allocations: 13.35 MB / 1.57 GB, free: 10.77 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-05/0.9352, allocations: 4 kB / 1.57 GB, free: 10.76 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004748/0.94, allocations: 1.05 MB / 1.571 GB, free: 9.711 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003853/0.9438, allocations: 0.8519 MB / 1.572 GB, free: 8.852 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004216/0.9443, allocations: 100 kB / 1.572 GB, free: 8.754 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02706/0.9714, allocations: 14.83 MB / 1.586 GB, free: 9.613 MB / 1.28 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.9714, allocations: 4 kB / 1.586 GB, free: 9.609 MB / 1.28 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.257/2.228, allocations: 9.899 MB / 1.596 GB, free: 269.3 MB / 1.28 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00455/2.233, allocations: 1.207 MB / 1.597 GB, free: 269.2 MB / 1.28 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002103/2.235, allocations: 99.95 kB / 1.597 GB, free: 269.2 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005737/2.241, allocations: 143.7 kB / 1.597 GB, free: 269.2 MB / 1.28 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001222/2.242, allocations: 390.6 kB / 1.598 GB, free: 269.2 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003013/2.242, allocations: 136.7 kB / 1.598 GB, free: 269.2 MB / 1.28 GB Notification: Performance of sorting global known variables: time 0.005347/2.248, allocations: 2.515 MB / 1.6 GB, free: 269 MB / 1.28 GB Notification: Performance of sort global known variables: time 3.51e-07/2.248, allocations: 0 / 1.6 GB, free: 269 MB / 1.28 GB Notification: Performance of remove unused functions: time 0.009867/2.258, allocations: 2.244 MB / 1.602 GB, free: 269 MB / 1.28 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.01555/2.273, allocations: 7.088 MB / 1.609 GB, free: 267.1 MB / 1.28 GB Notification: Performance of simCode: created initialization part: time 0.01889/2.292, allocations: 7.523 MB / 1.617 GB, free: 264.3 MB / 1.28 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/2.292, allocations: 0.5312 kB / 1.617 GB, free: 264.3 MB / 1.28 GB Notification: Performance of simCode: created simulation system equations: time 0.0117/2.304, allocations: 4.908 MB / 1.621 GB, free: 262.4 MB / 1.28 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006532/2.31, allocations: 0.732 MB / 1.622 GB, free: 261.9 MB / 1.28 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1033/2.414, allocations: 45.32 MB / 1.666 GB, free: 239.1 MB / 1.28 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005727/2.42, allocations: 3.007 MB / 1.669 GB, free: 238.2 MB / 1.28 GB Notification: Performance of simCode: alias equations: time 0.004652/2.424, allocations: 0.7123 MB / 1.67 GB, free: 237.9 MB / 1.28 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004615/2.429, allocations: 2.418 MB / 1.672 GB, free: 235.9 MB / 1.28 GB Notification: Performance of SimCode: time 1.573e-06/2.429, allocations: 0 / 1.672 GB, free: 235.9 MB / 1.28 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2206/2.65, allocations: 131.4 MB / 1.801 GB, free: 105.8 MB / 1.28 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.33/29.98, allocations: 7.891 kB / 1.801 GB, free: 105.8 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 & python3 -m fmpy simulate --output-file ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 ScalableTestGrids_noopt_ScalableTestGrids_Models_Type0_Type0_N_1_M_1.fmu > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.pipe 2>&1)