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.001483/0.001483, allocations: 110.2 kB / 16.42 MB, free: 6.504 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.001636/0.001636, allocations: 185.5 kB / 17.34 MB, free: 5.758 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.404/1.404, allocations: 205.1 MB / 223.2 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06354/0.06354, allocations: 14.16 MB / 284.7 MB, free: 13.87 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.001389/0.001389, allocations: 63 kB / 400 MB, free: 42.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07631/0.07771, allocations: 50.13 MB / 450.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01641/0.09417, allocations: 18.63 MB / 468.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01197/0.1062, allocations: 7.616 MB / 476.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002514/0.1087, allocations: 51.81 kB / 476.4 MB, free: 492 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002959/0.1118, allocations: 1.006 MB / 477.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008884/0.1207, allocations: 3.399 MB / 480.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.1228, allocations: 0.7859 MB / 481.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007226/0.13, allocations: 5.716 MB / 487.3 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008669/0.1309, allocations: 386.3 kB / 487.7 MB, free: 5.176 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003113/0.134, allocations: 1.938 MB / 489.6 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003235/0.1373, allocations: 2.02 MB / 491.6 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007733/0.1381, allocations: 204 kB / 491.8 MB, free: 1.004 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002658/0.1408, allocations: 0.7224 MB / 492.6 MB, free: 288 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000713/0.1415, allocations: 0.4899 MB / 493 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003044/0.1446, allocations: 1.683 MB / 494.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007317/0.1519, allocations: 4.204 MB / 498.9 MB, free: 9.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.152, allocations: 0 / 498.9 MB, free: 9.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.152, allocations: 0 / 498.9 MB, free: 9.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000131/0.1521, allocations: 0 / 498.9 MB, free: 9.879 MB / 382.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.01738/0.1695, allocations: 4.548 MB / 0.4917 GB, free: 5.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1696, allocations: 8.031 kB / 0.4917 GB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002417/0.172, allocations: 474.8 kB / 0.4921 GB, free: 4.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004166/0.1762, allocations: 1.812 MB / 0.4939 GB, free: 2.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.1763, allocations: 160.8 kB / 0.4941 GB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003787/0.1767, allocations: 219.9 kB / 0.4943 GB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003985/0.1807, allocations: 2.145 MB / 0.4964 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/0.1808, allocations: 0 / 0.4964 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.181, allocations: 88 kB / 0.4964 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.711e-05/0.181, allocations: 52 kB / 0.4965 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003582/0.1846, allocations: 2.172 MB / 0.4986 GB, free: 13.96 MB / 398.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.02101/0.2056, allocations: 15.18 MB / 0.5134 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004366/0.21, allocations: 3.116 MB / 0.5165 GB, free: 9.754 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/0.2113, allocations: 0.8027 MB / 0.5173 GB, free: 8.953 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.2114, allocations: 33.98 kB / 0.5173 GB, free: 8.922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.2114, allocations: 56.59 kB / 0.5174 GB, free: 8.855 MB / 414.1 MB Notification: Performance of pre-optimization done (n=217): time 4.078e-06/0.2115, allocations: 0 / 0.5174 GB, free: 8.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.008691/0.2202, allocations: 3.478 MB / 0.5208 GB, free: 5.309 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.2202, allocations: 85.33 kB / 0.5208 GB, free: 5.215 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/0.223, allocations: 1.689 MB / 0.5225 GB, free: 3.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000235/0.2233, allocations: 57.7 kB / 0.5225 GB, free: 3.418 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008944/0.2242, allocations: 1.088 MB / 0.5236 GB, free: 2.316 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001003/0.2252, allocations: 0.7861 MB / 0.5244 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006386/0.2258, allocations: 437.1 kB / 0.5248 GB, free: 1.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2259, allocations: 305.1 kB / 0.5251 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.227, allocations: 0.6571 MB / 0.5257 GB, free: 132 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1962/0.4232, allocations: 1.214 MB / 0.5269 GB, free: 79.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002832/0.4261, allocations: 2.022 MB / 0.5289 GB, free: 78.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-05/0.4262, allocations: 4.531 kB / 0.5289 GB, free: 78.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005462/0.4316, allocations: 2.691 MB / 0.5315 GB, free: 78.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/0.4317, allocations: 12.17 kB / 0.5315 GB, free: 78.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-05/0.4318, allocations: 19.94 kB / 0.5315 GB, free: 78.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001934/0.4337, allocations: 0.5249 MB / 0.5321 GB, free: 78.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/0.436, allocations: 0.5795 MB / 0.5326 GB, free: 77.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009441/0.4455, allocations: 7.697 MB / 0.5401 GB, free: 72.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002999/0.4485, allocations: 193.7 kB / 0.5403 GB, free: 71.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003092/0.4489, allocations: 98.36 kB / 0.5404 GB, free: 71.95 MB / 414.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.001006/0.4499, allocations: 493.4 kB / 0.5409 GB, free: 71.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007051/0.4506, allocations: 246.7 kB / 0.5411 GB, free: 71.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00406/0.4547, allocations: 2.142 MB / 0.5432 GB, free: 70.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.4547, allocations: 25.39 kB / 0.5432 GB, free: 70.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4547, allocations: 0 / 0.5432 GB, free: 70.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.108e-05/0.4548, allocations: 10.27 kB / 0.5432 GB, free: 70.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00868/0.4634, allocations: 5.262 MB / 0.5484 GB, free: 67.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.4635, allocations: 3.969 kB / 0.5484 GB, free: 67.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/0.4649, allocations: 394.8 kB / 0.5488 GB, free: 67.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001525/0.4665, allocations: 0.5023 MB / 0.5493 GB, free: 67.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.4666, allocations: 44.09 kB / 0.5493 GB, free: 67.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007177/0.4738, allocations: 7.565 MB / 0.5567 GB, free: 61.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4739, allocations: 3.969 kB / 0.5567 GB, free: 61.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005762/0.4796, allocations: 4.209 MB / 0.5608 GB, free: 58.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.4807, allocations: 0.5221 MB / 0.5613 GB, free: 58.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003242/0.481, allocations: 52.33 kB / 0.5614 GB, free: 58.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.4825, allocations: 49.7 kB / 0.5614 GB, free: 58.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/0.4828, allocations: 156.5 kB / 0.5616 GB, free: 58.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.598e-05/0.4829, allocations: 58.94 kB / 0.5616 GB, free: 58.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001463/0.4843, allocations: 1.102 MB / 0.5627 GB, free: 57.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4843, allocations: 0 / 0.5627 GB, free: 57.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003038/0.4874, allocations: 0.8926 MB / 0.5636 GB, free: 57.83 MB / 414.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.0004274/0.4878, allocations: 301.5 kB / 0.5638 GB, free: 57.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003432/0.4913, allocations: 2.382 MB / 0.5662 GB, free: 56.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.4913, allocations: 0 / 0.5662 GB, free: 56.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001697/0.493, allocations: 1.409 MB / 0.5675 GB, free: 54.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.4951, allocations: 325.6 kB / 0.5679 GB, free: 54.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005749/0.5008, allocations: 4.762 MB / 0.5725 GB, free: 49.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008054/0.5017, allocations: 1.546 MB / 0.574 GB, free: 48.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001161/0.5029, allocations: 301.7 kB / 0.5743 GB, free: 48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004819/0.5033, allocations: 159.4 kB / 0.5745 GB, free: 47.85 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5034, allocations: 0 / 0.5745 GB, free: 47.85 MB / 414.1 MB Notification: Performance of Templates: time 0.04144/0.5448, allocations: 30.92 MB / 0.6047 GB, free: 16.98 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)