Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.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) 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) Ignoring simflag -noemit -outputFormat=mat since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009429/0.000943, allocations: 92.48 kB / 16.03 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009977/0.0009977, allocations: 179.8 kB / 16.92 MB, free: 6.719 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.428/1.428, allocations: 205.4 MB / 223.1 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06377/0.06377, allocations: 14.16 MB / 285.6 MB, free: 7.266 MB / 238.1 MB 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: Performance of FrontEnd - loaded program: time 0.0005551/0.0005551, allocations: 18.64 kB / 350.2 MB, free: 16.83 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08744/0.08801, allocations: 51.11 MB / 401.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01626/0.1043, allocations: 18.24 MB / 419.5 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.1165, allocations: 7.547 MB / 427.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002859/0.1194, allocations: 51.81 kB / 427.1 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002794/0.1222, allocations: 0.8672 MB / 428 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1794/0.3016, allocations: 2.97 MB / 431 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002892/0.3045, allocations: 0.7283 MB / 431.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008665/0.3132, allocations: 5.747 MB / 437.4 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008627/0.3141, allocations: 350.9 kB / 437.8 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003496/0.3176, allocations: 1.465 MB / 439.2 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003693/0.3213, allocations: 1.607 MB / 440.8 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006131/0.322, allocations: 78.72 kB / 440.9 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/0.325, allocations: 0.5245 MB / 441.4 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006304/0.3257, allocations: 348.2 kB / 441.8 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0038/0.3295, allocations: 1.474 MB / 443.3 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006215/0.3357, allocations: 3.516 MB / 446.8 MB, free: 13 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3357, allocations: 0 / 446.8 MB, free: 13 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3358, allocations: 4 kB / 446.8 MB, free: 13 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001003/0.3359, allocations: 1.156 kB / 446.8 MB, free: 13 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 560 * Number of variables: 560 Notification: Performance of Generate backend data structure: time 0.01385/0.3497, allocations: 3.771 MB / 450.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3498, allocations: 9.406 kB / 450.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002462/0.3522, allocations: 456.8 kB / 451 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003518/0.3558, allocations: 1.658 MB / 452.7 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.3559, allocations: 164.4 kB / 452.8 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003241/0.3563, allocations: 210.3 kB / 453 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003405/0.3597, allocations: 2.145 MB / 455.2 MB, free: 9.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.599e-05/0.3597, allocations: 5.5 kB / 455.2 MB, free: 9.516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/0.3599, allocations: 91.22 kB / 455.3 MB, free: 9.445 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.024e-05/0.3599, allocations: 53.88 kB / 455.3 MB, free: 9.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003275/0.3632, allocations: 2.171 MB / 457.5 MB, free: 8.391 MB / 318.1 MB 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.01477/0.378, allocations: 13.98 MB / 471.5 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00488/0.3829, allocations: 3.122 MB / 474.6 MB, free: 6.574 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.3843, allocations: 0.791 MB / 475.4 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.3844, allocations: 29.98 kB / 475.4 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.3845, allocations: 60.56 kB / 475.5 MB, free: 5.691 MB / 334.1 MB Notification: Performance of pre-optimization done (n=217): time 4.879e-06/0.3845, allocations: 0 / 475.5 MB, free: 5.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=217): time 0.009363/0.3939, allocations: 3.479 MB / 479 MB, free: 2.148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.394, allocations: 77.41 kB / 479 MB, free: 2.059 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/0.3963, allocations: 1.517 MB / 480.5 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002259/0.3965, allocations: 61.7 kB / 480.6 MB, free: 440 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009123/0.3974, allocations: 1.078 MB / 481.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008192/0.3983, allocations: 0.7456 MB / 482.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003438/0.3986, allocations: 202.9 kB / 482.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3988, allocations: 305.1 kB / 482.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.4, allocations: 0.6571 MB / 483.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.4015, allocations: 1.214 MB / 484.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002896/0.4044, allocations: 2.022 MB / 486.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/0.4045, allocations: 4 kB / 486.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.00531/0.4098, allocations: 2.685 MB / 489.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.4098, allocations: 12 kB / 489.5 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-05/0.4099, allocations: 16 kB / 489.5 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001955/0.4118, allocations: 0.5313 MB / 490.1 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002487/0.4143, allocations: 0.5773 MB / 490.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009478/0.4238, allocations: 6.97 MB / 497.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/0.4268, allocations: 206.2 kB / 497.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000285/0.4271, allocations: 100 kB / 497.9 MB, free: 14.21 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (285): * Single equations (assignments): 282 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,26), (2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001179/0.4283, allocations: 477.2 kB / 498.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005996/0.4289, allocations: 233.3 kB / 498.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004443/0.4334, allocations: 2.148 MB / 0.489 GB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.708e-05/0.4334, allocations: 20 kB / 0.489 GB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.4335, allocations: 4 kB / 0.489 GB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.932e-05/0.4335, allocations: 15.89 kB / 0.4891 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008639/0.4421, allocations: 4.9 MB / 0.4938 GB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.4422, allocations: 8.094 kB / 0.4938 GB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00171/0.4439, allocations: 387.5 kB / 0.4942 GB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001763/0.4457, allocations: 0.5027 MB / 0.4947 GB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.4458, allocations: 44 kB / 0.4948 GB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008396/0.4542, allocations: 6.862 MB / 0.5015 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.4543, allocations: 8.031 kB / 0.5015 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006208/0.4605, allocations: 3.948 MB / 0.5053 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009911/0.4615, allocations: 469.8 kB / 0.5058 GB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000291/0.4618, allocations: 40 kB / 0.5058 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.4631, allocations: 79.59 kB / 0.5059 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003034/0.4634, allocations: 145.7 kB / 0.506 GB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.101e-05/0.4635, allocations: 59.94 kB / 0.5061 GB, free: 9.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001374/0.4649, allocations: 0.9803 MB / 0.507 GB, free: 8.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4649, allocations: 0 / 0.507 GB, free: 8.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002715/0.4676, allocations: 0.8159 MB / 0.5078 GB, free: 7.32 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (176): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,10), (4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005037/0.4681, allocations: 305.5 kB / 0.5081 GB, free: 7.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004074/0.4722, allocations: 2.363 MB / 0.5104 GB, free: 4.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.4723, allocations: 0 / 0.5104 GB, free: 4.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002214/0.4745, allocations: 1.398 MB / 0.5118 GB, free: 3.188 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/0.4773, allocations: 258.1 kB / 0.512 GB, free: 2.934 MB / 382.1 MB 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.008289/0.4856, allocations: 5.807 MB / 0.5177 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001455/0.487, allocations: 1.553 MB / 0.5192 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001528/0.4886, allocations: 285.9 kB / 0.5195 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003936/0.489, allocations: 143.4 kB / 0.5196 GB, free: 11.04 MB / 398.1 MB Notification: Performance of SimCode: time 9.12e-07/0.489, allocations: 0 / 0.5196 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Templates: time 0.04549/0.5345, allocations: 23.39 MB / 0.5425 GB, free: 3.754 MB / 414.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.sim & ./PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)