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.001682/0.001682, allocations: 110.8 kB / 17.17 MB, free: 6.309 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.001722/0.001722, allocations: 197.8 kB / 18.08 MB, free: 5.406 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.018/1.018, allocations: 205.1 MB / 223.9 MB, free: 12.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05311/0.05311, allocations: 14.16 MB / 285.4 MB, free: 14.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 2.211/2.211, allocations: 461.2 MB / 0.7788 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.001449/0.001449, allocations: 91.33 kB / 0.9602 GB, free: 3.875 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7047/0.7061, allocations: 172.1 MB / 1.128 GB, free: 28 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_2_M_2): time 0.1524/0.8586, allocations: 246.3 MB / 1.369 GB, free: 2.258 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1107/0.9693, allocations: 82.74 MB / 1.45 GB, free: 15.23 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03271/1.002, allocations: 0.7163 MB / 1.45 GB, free: 14.51 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.03032/1.032, allocations: 11.01 MB / 1.461 GB, free: 3.453 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.07925/1.112, allocations: 31.47 MB / 1.492 GB, free: 3.895 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.01292/1.125, allocations: 3.652 MB / 1.495 GB, free: 248 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.08105/1.206, allocations: 77.92 MB / 1.571 GB, free: 2.02 MB / 1.249 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009305/1.215, allocations: 4.991 MB / 1.576 GB, free: 12.94 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.763/1.978, allocations: 19.69 MB / 1.596 GB, free: 40.36 MB / 1.265 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03029/2.008, allocations: 22.65 MB / 1.618 GB, free: 40.36 MB / 1.265 GB Notification: Performance of NFPackage.collectConstants: time 0.007706/2.016, allocations: 1.191 MB / 1.619 GB, free: 40.36 MB / 1.265 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02289/2.039, allocations: 3.768 MB / 1.623 GB, free: 40.36 MB / 1.265 GB Notification: Performance of NFScalarize.scalarize: time 0.004727/2.044, allocations: 4.87 MB / 1.627 GB, free: 39.02 MB / 1.265 GB Notification: Performance of NFVerifyModel.verify: time 0.03707/2.081, allocations: 20.34 MB / 1.647 GB, free: 33.24 MB / 1.265 GB Notification: Performance of NFConvertDAE.convert: time 0.05078/2.132, allocations: 47.09 MB / 1.693 GB, free: 25.68 MB / 1.265 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/2.132, allocations: 0 / 1.693 GB, free: 25.68 MB / 1.265 GB Notification: Performance of FrontEnd: time 1.403e-06/2.132, allocations: 0 / 1.693 GB, free: 25.68 MB / 1.265 GB Notification: Performance of Transformations before backend: time 0.001233/2.133, allocations: 2.594 kB / 1.693 GB, free: 25.68 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.1616/2.295, allocations: 56.38 MB / 1.748 GB, free: 9.496 MB / 1.265 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/2.295, allocations: 17.05 kB / 1.748 GB, free: 9.492 MB / 1.265 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005443/2.3, allocations: 3.989 MB / 1.752 GB, free: 8.488 MB / 1.265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02292/2.323, allocations: 6.149 MB / 1.758 GB, free: 5.809 MB / 1.265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03875/2.362, allocations: 20.68 MB / 1.778 GB, free: 12.88 MB / 1.28 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001477/2.363, allocations: 2.318 MB / 1.781 GB, free: 12.81 MB / 1.28 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00478/2.368, allocations: 3.002 MB / 1.783 GB, free: 12.81 MB / 1.28 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05112/2.419, allocations: 32.15 MB / 1.815 GB, free: 13.14 MB / 1.296 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004498/2.42, allocations: 63.19 kB / 1.815 GB, free: 13.12 MB / 1.296 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002257/2.422, allocations: 1.289 MB / 1.816 GB, free: 11.83 MB / 1.296 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004409/2.422, allocations: 0.7734 MB / 1.817 GB, free: 11.05 MB / 1.296 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04716/2.469, allocations: 31.48 MB / 1.848 GB, free: 11.88 MB / 1.327 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.1865/2.656, allocations: 203.3 MB / 2.046 GB, free: 14.01 MB / 1.546 GB Notification: Performance of preOpt comSubExp (simulation): time 0.073/2.729, allocations: 53.47 MB / 2.098 GB, free: 11.05 MB / 1.593 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01782/2.747, allocations: 14.28 MB / 2.112 GB, free: 12.73 MB / 1.608 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/2.748, allocations: 392.3 kB / 2.113 GB, free: 12.36 MB / 1.608 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/2.749, allocations: 388.5 kB / 2.113 GB, free: 11.97 MB / 1.608 GB Notification: Performance of pre-optimization done (n=3389): time 3.185e-05/2.749, allocations: 0 / 2.113 GB, free: 11.97 MB / 1.608 GB Notification: Performance of matching and sorting (n=3389): time 0.06331/2.812, allocations: 41.3 MB / 2.153 GB, free: 3.156 MB / 1.64 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002104/2.812, allocations: 393.9 kB / 2.154 GB, free: 2.758 MB / 1.64 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.401/3.213, allocations: 18.1 MB / 2.171 GB, free: 0.6738 GB / 1.64 GB Notification: Performance of collectPreVariables (initialization): time 0.003476/3.217, allocations: 0.5405 MB / 2.172 GB, free: 0.6738 GB / 1.64 GB Notification: Performance of collectInitialEqns (initialization): time 0.007626/3.224, allocations: 14.57 MB / 2.186 GB, free: 0.6721 GB / 1.64 GB Notification: Performance of collectInitialBindings (initialization): time 0.00954/3.234, allocations: 11.62 MB / 2.198 GB, free: 0.6634 GB / 1.64 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007325/3.241, allocations: 5.793 MB / 2.203 GB, free: 0.6605 GB / 1.64 GB Notification: Performance of setup shared object (initialization): time 3.235e-05/3.241, allocations: 305.2 kB / 2.204 GB, free: 0.6602 GB / 1.64 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01381/3.255, allocations: 9.776 MB / 2.213 GB, free: 0.6564 GB / 1.64 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01728/3.272, allocations: 17.27 MB / 2.23 GB, free: 0.6444 GB / 1.64 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07589/3.348, allocations: 29.61 MB / 2.259 GB, free: 0.6251 GB / 1.64 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000281/3.349, allocations: 57.91 kB / 2.259 GB, free: 0.6251 GB / 1.64 GB Notification: Performance of matching and sorting (n=4728) (initialization): time 0.06423/3.413, allocations: 40.49 MB / 2.298 GB, free: 0.6089 GB / 1.64 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/3.413, allocations: 94.91 kB / 2.299 GB, free: 0.6089 GB / 1.64 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002562/3.413, allocations: 202.9 kB / 2.299 GB, free: 0.6089 GB / 1.64 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05235/3.466, allocations: 13.7 MB / 2.312 GB, free: 0.6075 GB / 1.64 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02305/3.489, allocations: 8.229 MB / 2.32 GB, free: 0.6054 GB / 1.64 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1054/3.594, allocations: 72.75 MB / 2.391 GB, free: 0.5432 GB / 1.64 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02527/3.619, allocations: 2.692 MB / 2.394 GB, free: 0.5406 GB / 1.64 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002319/3.622, allocations: 1.309 MB / 2.395 GB, free: 0.5393 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.009457/3.631, allocations: 5.176 MB / 2.4 GB, free: 0.5343 GB / 1.64 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005286/3.637, allocations: 3.104 MB / 2.403 GB, free: 0.5312 GB / 1.64 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04486/3.681, allocations: 34.7 MB / 2.437 GB, free: 0.4995 GB / 1.64 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001109/3.682, allocations: 320 kB / 2.437 GB, free: 0.4992 GB / 1.64 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.912e-05/3.682, allocations: 0 / 2.437 GB, free: 0.4992 GB / 1.64 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001839/3.682, allocations: 159.4 kB / 2.438 GB, free: 0.499 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.08662/3.768, allocations: 70.23 MB / 2.506 GB, free: 440.6 MB / 1.64 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.377e-05/3.768, allocations: 8 kB / 2.506 GB, free: 440.6 MB / 1.64 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01831/3.787, allocations: 5.931 MB / 2.512 GB, free: 434.6 MB / 1.64 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01801/3.805, allocations: 5.118 MB / 2.517 GB, free: 429.5 MB / 1.64 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001164/3.806, allocations: 0.539 MB / 2.517 GB, free: 429 MB / 1.64 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0989/3.905, allocations: 70.7 MB / 2.586 GB, free: 357.9 MB / 1.64 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/3.905, allocations: 11.94 kB / 2.587 GB, free: 357.9 MB / 1.64 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06552/3.97, allocations: 52.01 MB / 2.637 GB, free: 305.6 MB / 1.64 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01062/3.981, allocations: 5.26 MB / 2.642 GB, free: 300.2 MB / 1.64 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004006/3.985, allocations: 0.5273 MB / 2.643 GB, free: 299.7 MB / 1.64 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01397/3.999, allocations: 1.145 MB / 2.644 GB, free: 298.6 MB / 1.64 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003448/4.003, allocations: 2.107 MB / 2.646 GB, free: 296.5 MB / 1.64 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001089/4.004, allocations: 0.7498 MB / 2.647 GB, free: 295.7 MB / 1.64 GB Notification: Performance of sorting global known variables: time 0.01225/4.016, allocations: 11.49 MB / 2.658 GB, free: 284.3 MB / 1.64 GB Notification: Performance of sort global known variables: time 1.5e-07/4.016, allocations: 4 kB / 2.658 GB, free: 284.3 MB / 1.64 GB Notification: Performance of remove unused functions: time 0.02647/4.042, allocations: 11.53 MB / 2.669 GB, free: 272.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.04791/4.09, allocations: 37.38 MB / 2.706 GB, free: 235.3 MB / 1.64 GB Notification: Performance of simCode: created initialization part: time 0.05628/4.147, allocations: 40.86 MB / 2.746 GB, free: 194.4 MB / 1.64 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/4.147, allocations: 4.125 kB / 2.746 GB, free: 194.4 MB / 1.64 GB Notification: Performance of simCode: created simulation system equations: time 0.03888/4.186, allocations: 26.52 MB / 2.772 GB, free: 167.8 MB / 1.64 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01744/4.203, allocations: 2.882 MB / 2.774 GB, free: 165 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.028/5.231, allocations: 0.6756 GB / 3.45 GB, free: 99.98 MB / 1.64 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01396/5.245, allocations: 13.75 MB / 3.464 GB, free: 90.89 MB / 1.64 GB Notification: Performance of simCode: alias equations: time 0.01732/5.262, allocations: 3.768 MB / 3.467 GB, free: 88.24 MB / 1.64 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01258/5.275, allocations: 14.96 MB / 3.482 GB, free: 74.23 MB / 1.64 GB Notification: Performance of SimCode: time 5.91e-07/5.275, allocations: 0 / 3.482 GB, free: 74.23 MB / 1.64 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.007/6.282, allocations: 0.6011 GB / 4.083 GB, free: 201.5 MB / 1.64 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001405/6.282, allocations: 235.2 kB / 4.083 GB, free: 201.2 MB / 1.64 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.532/14.81, allocations: 8.812 kB / 4.083 GB, free: 201.2 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)