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: translateModel(ScalableTestGrids.Models.Type0.Type0_N_2_M_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2") translateModel(ScalableTestGrids.Models.Type0.Type0_N_2_M_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 107.9 kB / 18.36 MB, free: 4.812 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.001219/0.001219, allocations: 190.9 kB / 19.29 MB, free: 3.887 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.291/1.291, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05949/0.05949, allocations: 14.17 MB / 286.7 MB, free: 13.88 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.078/3.078, allocations: 461.2 MB / 0.78 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.001737/0.001737, allocations: 79.89 kB / 0.9623 GB, free: 2.75 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9973/0.9991, allocations: 172.1 MB / 1.13 GB, free: 28.45 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_2_M_2): time 0.1841/1.183, allocations: 243.8 MB / 1.368 GB, free: 4.379 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1483/1.332, allocations: 82.2 MB / 1.449 GB, free: 1.887 MB / 1.124 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05333/1.385, allocations: 0.6815 MB / 1.449 GB, free: 1.203 MB / 1.124 GB Notification: Performance of NFTyping.typeComponents: time 0.04591/1.431, allocations: 12.77 MB / 1.462 GB, free: 4.359 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.1145/1.545, allocations: 34.55 MB / 1.496 GB, free: 1.684 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.02158/1.567, allocations: 3.959 MB / 1.499 GB, free: 13.72 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.1241/1.691, allocations: 77.39 MB / 1.575 GB, free: 32 kB / 1.249 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01837/1.71, allocations: 5.376 MB / 1.58 GB, free: 10.57 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 1.088/2.798, allocations: 25.33 MB / 1.605 GB, free: 41.18 MB / 1.265 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05623/2.854, allocations: 27.85 MB / 1.632 GB, free: 39.43 MB / 1.265 GB Notification: Performance of NFPackage.collectConstants: time 0.01554/2.87, allocations: 2.69 MB / 1.635 GB, free: 39.43 MB / 1.265 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04265/2.913, allocations: 6.317 MB / 1.641 GB, free: 39.43 MB / 1.265 GB Notification: Performance of NFScalarize.scalarize: time 0.01602/2.929, allocations: 6.812 MB / 1.648 GB, free: 37.98 MB / 1.265 GB Notification: Performance of NFVerifyModel.verify: time 0.06357/2.992, allocations: 23.28 MB / 1.67 GB, free: 32.21 MB / 1.265 GB Notification: Performance of NFConvertDAE.convert: time 0.09709/3.089, allocations: 52.5 MB / 1.722 GB, free: 24.34 MB / 1.265 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/3.089, allocations: 2.594 kB / 1.722 GB, free: 24.34 MB / 1.265 GB Notification: Performance of FrontEnd: time 2.976e-06/3.089, allocations: 2.25 kB / 1.722 GB, free: 24.34 MB / 1.265 GB Notification: Performance of Transformations before backend: time 0.001925/3.091, allocations: 3.469 kB / 1.722 GB, free: 24.34 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.2349/3.326, allocations: 59.76 MB / 1.78 GB, free: 6.008 MB / 1.265 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/3.326, allocations: 14.34 kB / 1.78 GB, free: 6.004 MB / 1.265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03491/3.361, allocations: 6.147 MB / 1.786 GB, free: 3.316 MB / 1.265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06715/3.428, allocations: 22.27 MB / 1.808 GB, free: 10.41 MB / 1.28 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003153/3.432, allocations: 2.313 MB / 1.81 GB, free: 8.152 MB / 1.28 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01057/3.442, allocations: 3.008 MB / 1.813 GB, free: 5.145 MB / 1.28 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09374/3.536, allocations: 32.14 MB / 1.844 GB, free: 3.875 MB / 1.312 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001813/3.538, allocations: 66.25 kB / 1.844 GB, free: 3.844 MB / 1.312 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008498/3.546, allocations: 1.29 MB / 1.846 GB, free: 2.555 MB / 1.312 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007026/3.547, allocations: 0.7773 MB / 1.847 GB, free: 1.777 MB / 1.312 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0749/3.622, allocations: 31.47 MB / 1.877 GB, free: 2.598 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.3679/3.99, allocations: 217.8 MB / 2.09 GB, free: 6.145 MB / 1.577 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1004/4.09, allocations: 53.48 MB / 2.142 GB, free: 3.191 MB / 1.624 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02699/4.117, allocations: 14.28 MB / 2.156 GB, free: 4.875 MB / 1.64 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003009/4.12, allocations: 396.4 kB / 2.156 GB, free: 4.504 MB / 1.64 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002929/4.121, allocations: 385.1 kB / 2.157 GB, free: 4.117 MB / 1.64 GB Notification: Performance of pre-optimization done (n=3389): time 3.716e-05/4.121, allocations: 0 / 2.157 GB, free: 4.117 MB / 1.64 GB Notification: Performance of matching and sorting (n=3389): time 0.6163/4.737, allocations: 41.3 MB / 2.197 GB, free: 0.6449 GB / 1.64 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003635/4.737, allocations: 396.4 kB / 2.198 GB, free: 0.6448 GB / 1.64 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04792/4.785, allocations: 20.43 MB / 2.217 GB, free: 0.6438 GB / 1.64 GB Notification: Performance of collectPreVariables (initialization): time 0.004232/4.79, allocations: 0.5423 MB / 2.218 GB, free: 0.6438 GB / 1.64 GB Notification: Performance of collectInitialEqns (initialization): time 0.01111/4.801, allocations: 14.51 MB / 2.232 GB, free: 0.6378 GB / 1.64 GB Notification: Performance of collectInitialBindings (initialization): time 0.01494/4.816, allocations: 11.65 MB / 2.244 GB, free: 0.6288 GB / 1.64 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01627/4.832, allocations: 5.797 MB / 2.249 GB, free: 0.626 GB / 1.64 GB Notification: Performance of setup shared object (initialization): time 4.125e-05/4.832, allocations: 307.1 kB / 2.25 GB, free: 0.6257 GB / 1.64 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02006/4.852, allocations: 9.775 MB / 2.259 GB, free: 0.6219 GB / 1.64 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02768/4.88, allocations: 17.28 MB / 2.276 GB, free: 0.6098 GB / 1.64 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08986/4.97, allocations: 29.62 MB / 2.305 GB, free: 0.5906 GB / 1.64 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003863/4.97, allocations: 58.66 kB / 2.305 GB, free: 0.5906 GB / 1.64 GB Notification: Performance of matching and sorting (n=4728) (initialization): time 0.09818/5.068, allocations: 40.47 MB / 2.344 GB, free: 0.5742 GB / 1.64 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003638/5.069, allocations: 97.5 kB / 2.345 GB, free: 0.5742 GB / 1.64 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004377/5.069, allocations: 202.3 kB / 2.345 GB, free: 0.5742 GB / 1.64 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05858/5.128, allocations: 13.65 MB / 2.358 GB, free: 0.5727 GB / 1.64 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02919/5.157, allocations: 8.225 MB / 2.366 GB, free: 0.5663 GB / 1.64 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1524/5.309, allocations: 80.07 MB / 2.444 GB, free: 0.4973 GB / 1.64 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03744/5.347, allocations: 2.524 MB / 2.447 GB, free: 0.4949 GB / 1.64 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005785/5.353, allocations: 1.312 MB / 2.448 GB, free: 0.4936 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.02021/5.373, allocations: 5.173 MB / 2.453 GB, free: 0.4885 GB / 1.64 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01304/5.386, allocations: 3.104 MB / 2.456 GB, free: 497.1 MB / 1.64 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07844/5.464, allocations: 34.7 MB / 2.49 GB, free: 466.4 MB / 1.64 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002211/5.465, allocations: 316 kB / 2.49 GB, free: 466.1 MB / 1.64 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-05/5.465, allocations: 0 / 2.49 GB, free: 466.1 MB / 1.64 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009548/5.466, allocations: 166 kB / 2.49 GB, free: 466 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.1771/5.643, allocations: 73.7 MB / 2.562 GB, free: 392.2 MB / 1.64 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002807/5.643, allocations: 11.98 kB / 2.562 GB, free: 392.2 MB / 1.64 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0238/5.667, allocations: 5.931 MB / 2.568 GB, free: 386.2 MB / 1.64 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02101/5.688, allocations: 5.063 MB / 2.573 GB, free: 381.1 MB / 1.64 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005003/5.693, allocations: 0.5351 MB / 2.574 GB, free: 380.6 MB / 1.64 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1542/5.847, allocations: 77.75 MB / 2.65 GB, free: 302.4 MB / 1.64 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/5.847, allocations: 8 kB / 2.65 GB, free: 302.4 MB / 1.64 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1106/5.958, allocations: 52.28 MB / 2.701 GB, free: 249.8 MB / 1.64 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02507/5.983, allocations: 6.188 MB / 2.707 GB, free: 243.6 MB / 1.64 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01332/5.996, allocations: 0.5312 MB / 2.707 GB, free: 243.1 MB / 1.64 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02911/6.025, allocations: 0.7607 MB / 2.708 GB, free: 242.3 MB / 1.64 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007714/6.033, allocations: 2.111 MB / 2.71 GB, free: 240.2 MB / 1.64 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004374/6.038, allocations: 0.7422 MB / 2.711 GB, free: 239.4 MB / 1.64 GB Notification: Performance of sorting global known variables: time 0.02914/6.067, allocations: 13.22 MB / 2.724 GB, free: 226.3 MB / 1.64 GB Notification: Performance of sort global known variables: time 6.82e-07/6.067, allocations: 0 / 2.724 GB, free: 226.3 MB / 1.64 GB Notification: Performance of remove unused functions: time 0.04741/6.114, allocations: 12.55 MB / 2.736 GB, free: 213.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.006554/6.121, allocations: 2.293 MB / 2.738 GB, free: 211.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 0.08341/6.204, allocations: 42.74 MB / 2.78 GB, free: 168.8 MB / 1.64 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/6.204, allocations: 4 kB / 2.78 GB, free: 168.8 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.05207/6.256, allocations: 28.29 MB / 2.808 GB, free: 140.4 MB / 1.64 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04531/6.302, allocations: 3.901 MB / 2.811 GB, free: 136.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.6593/6.961, allocations: 70.95 MB / 2.881 GB, free: 0.5687 GB / 1.64 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02856/6.99, allocations: 13.77 MB / 2.894 GB, free: 0.5671 GB / 1.64 GB Notification: Performance of simCode: alias equations: time 0.02095/7.011, allocations: 3.879 MB / 2.898 GB, free: 0.5665 GB / 1.64 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01419/7.025, allocations: 1.942 MB / 2.9 GB, free: 0.5665 GB / 1.64 GB Notification: Performance of SimCode: time 1.193e-06/7.025, allocations: 1.344 kB / 2.9 GB, free: 0.5665 GB / 1.64 GB Notification: Performance of Templates: time 0.6709/7.696, allocations: 441.2 MB / 3.331 GB, free: 247 MB / 1.64 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.makefile (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 & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2 -lv=LOG_STATS -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe 2>&1)