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.0009504/0.0009504, allocations: 89.34 kB / 16.67 MB, free: 6.113 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.001247/0.001247, allocations: 178.5 kB / 17.58 MB, free: 5.828 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.284/1.284, allocations: 205.4 MB / 223.8 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06139/0.06139, allocations: 14.16 MB / 286.2 MB, free: 13.89 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.000508/0.0005081, allocations: 12.47 kB / 350.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2001, allocations: 51.11 MB / 401.9 MB, free: 48.56 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01042/0.2106, allocations: 18.24 MB / 420.2 MB, free: 32.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00832/0.2189, allocations: 7.535 MB / 427.7 MB, free: 24.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.2206, allocations: 51.81 kB / 427.8 MB, free: 24.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.2226, allocations: 0.875 MB / 428.6 MB, free: 23.78 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006049/0.2286, allocations: 2.984 MB / 431.6 MB, free: 20.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.2299, allocations: 0.7162 MB / 432.3 MB, free: 20.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00454/0.2344, allocations: 5.746 MB / 438.1 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000452/0.2349, allocations: 346.9 kB / 438.4 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.2363, allocations: 1.465 MB / 439.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.2375, allocations: 1.614 MB / 441.5 MB, free: 10.9 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.2376, allocations: 83.94 kB / 441.6 MB, free: 10.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.2387, allocations: 0.5192 MB / 442.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.2389, allocations: 345.7 kB / 442.4 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009082/0.2399, allocations: 1.47 MB / 443.9 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.2417, allocations: 2.817 MB / 446.7 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2417, allocations: 0 / 446.7 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2417, allocations: 0 / 446.7 MB, free: 5.648 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.475e-05/0.2417, allocations: 0 / 446.7 MB, free: 5.648 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.01122/0.2529, allocations: 3.76 MB / 450.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.253, allocations: 12.03 kB / 450.5 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.2547, allocations: 457.2 kB / 450.9 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/0.2571, allocations: 1.662 MB / 452.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.2572, allocations: 164.8 kB / 452.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002632/0.2575, allocations: 219.9 kB / 453 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003357/0.2608, allocations: 2.145 MB / 455.1 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/0.2609, allocations: 0 / 455.1 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.2611, allocations: 88 kB / 455.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-05/0.2611, allocations: 56 kB / 455.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003346/0.2645, allocations: 2.172 MB / 457.4 MB, free: 10.67 MB / 334.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.01293/0.2774, allocations: 13.97 MB / 471.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004366/0.2818, allocations: 3.137 MB / 474.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.2829, allocations: 0.7911 MB / 475.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.283, allocations: 41.91 kB / 475.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.2831, allocations: 48.56 kB / 475.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=217): time 4.829e-06/0.2831, allocations: 4 kB / 475.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.008462/0.2916, allocations: 3.477 MB / 478.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.2916, allocations: 73.41 kB / 479 MB, free: 3.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00197/0.2936, allocations: 1.521 MB / 480.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.966e-05/0.2937, allocations: 61.7 kB / 480.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007297/0.2945, allocations: 1.066 MB / 481.6 MB, free: 448 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006124/0.2951, allocations: 0.7469 MB / 482.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.2953, allocations: 194.9 kB / 482.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.992e-05/0.2954, allocations: 305.1 kB / 482.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.2966, allocations: 0.661 MB / 483.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.298, allocations: 1.222 MB / 484.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002747/0.3008, allocations: 2.02 MB / 486.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/0.3008, allocations: 8 kB / 486.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.004856/0.3057, allocations: 2.68 MB / 489.4 MB, free: 8.043 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.3057, allocations: 12.41 kB / 489.5 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.3057, allocations: 20 kB / 489.5 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001846/0.3076, allocations: 0.5345 MB / 490 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/0.3099, allocations: 0.5695 MB / 490.6 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008496/0.3184, allocations: 6.97 MB / 497.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002139/0.3205, allocations: 210.3 kB / 497.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/0.3207, allocations: 96.11 kB / 497.8 MB, free: 15.25 MB / 382.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.0008613/0.3216, allocations: 493 kB / 498.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004391/0.322, allocations: 241.2 kB / 498.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00414/0.3262, allocations: 2.136 MB / 0.489 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.3262, allocations: 24 kB / 0.489 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3262, allocations: 0 / 0.489 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/0.3263, allocations: 11.95 kB / 0.489 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007495/0.3338, allocations: 4.904 MB / 0.4938 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.3338, allocations: 4 kB / 0.4938 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/0.3354, allocations: 392 kB / 0.4942 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001745/0.3372, allocations: 0.5104 MB / 0.4947 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.3373, allocations: 40 kB / 0.4947 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007874/0.3452, allocations: 6.851 MB / 0.5014 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.3452, allocations: 12.06 kB / 0.5014 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005894/0.3511, allocations: 3.951 MB / 0.5053 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008775/0.352, allocations: 461.9 kB / 0.5057 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003414/0.3524, allocations: 40 kB / 0.5057 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.3537, allocations: 79.58 kB / 0.5058 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/0.354, allocations: 145.8 kB / 0.506 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.87e-05/0.3541, allocations: 59.94 kB / 0.506 GB, free: 10.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001391/0.3555, allocations: 0.9881 MB / 0.507 GB, free: 9.105 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3555, allocations: 0 / 0.507 GB, free: 9.105 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002486/0.358, allocations: 0.8119 MB / 0.5078 GB, free: 8.293 MB / 398.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.000428/0.3584, allocations: 302.5 kB / 0.5081 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003841/0.3623, allocations: 2.367 MB / 0.5104 GB, free: 5.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3623, allocations: 0 / 0.5104 GB, free: 5.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002065/0.3644, allocations: 1.394 MB / 0.5117 GB, free: 4.148 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/0.3667, allocations: 261.5 kB / 0.512 GB, free: 3.895 MB / 398.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.1505/0.5172, allocations: 5.852 MB / 0.5177 GB, free: 108.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000784/0.518, allocations: 1.555 MB / 0.5192 GB, free: 107.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005867/0.5186, allocations: 160.5 kB / 0.5194 GB, free: 107.9 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5186, allocations: 0 / 0.5194 GB, free: 107.9 MB / 398.1 MB Notification: Performance of Templates: time 0.04655/0.5652, allocations: 57.31 MB / 0.5753 GB, free: 60.66 MB / 398.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)