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) 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.001239/0.001239, allocations: 88.17 kB / 15.71 MB, free: 452 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.001523/0.001523, allocations: 176.2 kB / 16.59 MB, free: 6.855 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.896/1.896, allocations: 205.4 MB / 222.8 MB, free: 5.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06116/0.06116, allocations: 14.15 MB / 285.2 MB, free: 7.113 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.0009005/0.0009006, allocations: 16 kB / 349.5 MB, free: 17.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.121, allocations: 51.12 MB / 400.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01429/0.1353, allocations: 17.09 MB / 417.7 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.1477, allocations: 7.134 MB / 424.8 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003085/0.1508, allocations: 51.81 kB / 424.9 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.1534, allocations: 0.7303 MB / 425.6 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008458/0.1618, allocations: 2.609 MB / 428.2 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.1634, allocations: 0.6462 MB / 428.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2488/0.4122, allocations: 5.485 MB / 434.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.4136, allocations: 338.1 kB / 434.7 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00438/0.418, allocations: 1.426 MB / 436.1 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004027/0.422, allocations: 1.544 MB / 437.6 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004491/0.4225, allocations: 79.53 kB / 437.7 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003086/0.4256, allocations: 0.5087 MB / 438.2 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004145/0.426, allocations: 336.2 kB / 438.5 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001557/0.4276, allocations: 0.568 MB / 439.1 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0048/0.4324, allocations: 2.798 MB / 441.9 MB, free: 13.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.4324, allocations: 5.312 kB / 441.9 MB, free: 13.74 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4324, allocations: 0 / 441.9 MB, free: 13.74 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.489e-05/0.4325, allocations: 0 / 441.9 MB, free: 13.74 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.01402/0.4465, allocations: 3.787 MB / 445.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.4466, allocations: 9.625 kB / 445.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003108/0.4497, allocations: 457.6 kB / 446.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004721/0.4545, allocations: 1.605 MB / 447.8 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.4547, allocations: 165.2 kB / 447.9 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003751/0.4551, allocations: 210 kB / 448.1 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004105/0.4592, allocations: 2.135 MB / 450.3 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.3e-05/0.4592, allocations: 3.984 kB / 450.3 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.4594, allocations: 89.56 kB / 450.4 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.587e-05/0.4595, allocations: 53.81 kB / 450.4 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003297/0.4628, allocations: 2.155 MB / 452.6 MB, free: 11.21 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.01432/0.4771, allocations: 13.96 MB / 466.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004029/0.4811, allocations: 3.107 MB / 469.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.4823, allocations: 0.7869 MB / 470.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.4824, allocations: 32.84 kB / 470.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.4824, allocations: 58.25 kB / 470.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=217): time 4.869e-06/0.4824, allocations: 0 / 470.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=217): time 0.008568/0.491, allocations: 3.469 MB / 474 MB, free: 11.31 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.4911, allocations: 81.34 kB / 474.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002436/0.4936, allocations: 1.513 MB / 475.6 MB, free: 9.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.4937, allocations: 61.7 kB / 475.6 MB, free: 9.594 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009223/0.4947, allocations: 1.068 MB / 476.7 MB, free: 8.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008809/0.4956, allocations: 0.749 MB / 477.5 MB, free: 7.777 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.4957, allocations: 52 kB / 477.5 MB, free: 7.727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.4959, allocations: 399.1 kB / 477.9 MB, free: 7.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.4971, allocations: 0.6454 MB / 478.5 MB, free: 6.684 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.4986, allocations: 1.209 MB / 479.7 MB, free: 5.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.5001, allocations: 0.8496 MB / 480.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.5001, allocations: 11.94 kB / 480.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005269/0.5054, allocations: 2.653 MB / 483.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.5054, allocations: 15.98 kB / 483.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/0.5055, allocations: 18.58 kB / 483.3 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/0.5072, allocations: 0.5451 MB / 483.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/0.5094, allocations: 0.5773 MB / 484.4 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008833/0.5183, allocations: 6.953 MB / 491.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002959/0.5213, allocations: 210.3 kB / 491.6 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002594/0.5216, allocations: 96 kB / 491.7 MB, free: 8.867 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {4 26,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.001219/0.5228, allocations: 485.1 kB / 492.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005503/0.5233, allocations: 233.2 kB / 492.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004042/0.5274, allocations: 2.136 MB / 494.5 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.5274, allocations: 20 kB / 494.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5274, allocations: 0 / 494.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.5275, allocations: 11.97 kB / 494.5 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008556/0.536, allocations: 4.88 MB / 499.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.5361, allocations: 4 kB / 499.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/0.5376, allocations: 396 kB / 499.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.5392, allocations: 0.5048 MB / 0.4886 GB, free: 0 / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001491/0.5394, allocations: 40.12 kB / 0.4886 GB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008369/0.5477, allocations: 6.837 MB / 0.4953 GB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.5478, allocations: 8 kB / 0.4953 GB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006656/0.5544, allocations: 3.932 MB / 0.4991 GB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/0.5558, allocations: 462 kB / 0.4996 GB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003141/0.5561, allocations: 43.98 kB / 0.4996 GB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.5573, allocations: 83.53 kB / 0.4997 GB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003182/0.5576, allocations: 153.7 kB / 0.4999 GB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.5577, allocations: 52 kB / 0.4999 GB, free: 3.875 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001626/0.5593, allocations: 0.9686 MB / 0.5009 GB, free: 2.883 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5593, allocations: 4 kB / 0.5009 GB, free: 2.879 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003025/0.5624, allocations: 0.8043 MB / 0.5016 GB, free: 2.074 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 10,4 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005227/0.5629, allocations: 300.4 kB / 0.5019 GB, free: 1.781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004169/0.5671, allocations: 2.351 MB / 0.5042 GB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5671, allocations: 0 / 0.5042 GB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00208/0.5692, allocations: 1.383 MB / 0.5056 GB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.571, allocations: 254.3 kB / 0.5058 GB, free: 13.72 MB / 382.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008104/0.5791, allocations: 5.582 MB / 0.5113 GB, free: 8.105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/0.5805, allocations: 1.545 MB / 0.5128 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001544/0.582, allocations: 292.9 kB / 0.5131 GB, free: 6.234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004145/0.5824, allocations: 139.4 kB / 0.5132 GB, free: 6.098 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5825, allocations: 0 / 0.5132 GB, free: 6.098 MB / 382.1 MB Notification: Performance of Templates: time 0.04882/0.6313, allocations: 22.87 MB / 0.5355 GB, free: 15.34 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 -outputFormat=mat -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)