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.00166/0.00166, allocations: 115.1 kB / 17.09 MB, free: 6.008 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.001762/0.001762, allocations: 191 kB / 18.02 MB, free: 5.09 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.422/1.422, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06634/0.06634, allocations: 14.16 MB / 285.4 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.001598/0.001598, allocations: 70.34 kB / 400.6 MB, free: 42.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09023/0.09184, allocations: 50.13 MB / 450.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01909/0.111, allocations: 18.63 MB / 469.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01285/0.1239, allocations: 7.62 MB / 477 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003058/0.127, allocations: 47.88 kB / 477.1 MB, free: 500 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003241/0.1303, allocations: 1.002 MB / 478.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00982/0.1401, allocations: 3.414 MB / 481.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.1423, allocations: 0.7666 MB / 482.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007439/0.1497, allocations: 5.72 MB / 488 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009508/0.1507, allocations: 382.4 kB / 488.3 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003385/0.1541, allocations: 1.942 MB / 490.3 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003578/0.1577, allocations: 2.02 MB / 492.3 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006962/0.1584, allocations: 200 kB / 492.5 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.1609, allocations: 0.7263 MB / 493.2 MB, free: 296 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006499/0.1616, allocations: 0.4937 MB / 493.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002556/0.1641, allocations: 1.675 MB / 495.4 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005063/0.1692, allocations: 4.194 MB / 499.6 MB, free: 9.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1692, allocations: 4 kB / 499.6 MB, free: 9.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1693, allocations: 0 / 499.6 MB, free: 9.898 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.407e-05/0.1693, allocations: 0 / 499.6 MB, free: 9.898 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.01579/0.1851, allocations: 4.461 MB / 0.4922 GB, free: 5.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1852, allocations: 12.03 kB / 0.4922 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/0.1871, allocations: 453.2 kB / 0.4927 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003622/0.1908, allocations: 1.791 MB / 0.4944 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.1909, allocations: 164.8 kB / 0.4946 GB, free: 2.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002597/0.1912, allocations: 215.9 kB / 0.4948 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003468/0.1946, allocations: 2.145 MB / 0.4969 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.317e-05/0.1947, allocations: 4 kB / 0.4969 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.1949, allocations: 84 kB / 0.497 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/0.1949, allocations: 56 kB / 0.497 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003717/0.1986, allocations: 2.168 MB / 0.4991 GB, free: 14.11 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.03219/0.2308, allocations: 15.17 MB / 0.514 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006723/0.2376, allocations: 3.116 MB / 0.517 GB, free: 9.902 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/0.2395, allocations: 0.8027 MB / 0.5178 GB, free: 9.102 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001507/0.2396, allocations: 38.02 kB / 0.5178 GB, free: 9.066 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/0.2397, allocations: 52.56 kB / 0.5179 GB, free: 9.004 MB / 414.1 MB Notification: Performance of pre-optimization done (n=217): time 6.202e-06/0.2397, allocations: 0 / 0.5179 GB, free: 9.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.01464/0.2544, allocations: 3.465 MB / 0.5213 GB, free: 5.469 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/0.2545, allocations: 77.41 kB / 0.5213 GB, free: 5.383 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004558/0.2591, allocations: 1.685 MB / 0.523 GB, free: 3.652 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002536/0.2594, allocations: 61.7 kB / 0.523 GB, free: 3.586 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001333/0.2607, allocations: 1.058 MB / 0.5241 GB, free: 2.512 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00135/0.2621, allocations: 0.7469 MB / 0.5248 GB, free: 1.754 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/0.2634, allocations: 432.8 kB / 0.5252 GB, free: 1.324 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2636, allocations: 309.1 kB / 0.5255 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.2656, allocations: 0.661 MB / 0.5261 GB, free: 364 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2431/0.5087, allocations: 1.21 MB / 0.5273 GB, free: 78.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00353/0.5123, allocations: 2.023 MB / 0.5293 GB, free: 77.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.163e-05/0.5123, allocations: 5 kB / 0.5293 GB, free: 77.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.006145/0.5185, allocations: 2.681 MB / 0.5319 GB, free: 77.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.5185, allocations: 13.38 kB / 0.5319 GB, free: 77.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/0.5186, allocations: 14.81 kB / 0.532 GB, free: 77.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/0.5205, allocations: 0.5296 MB / 0.5325 GB, free: 77.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/0.5228, allocations: 0.5736 MB / 0.533 GB, free: 77.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008914/0.5318, allocations: 7.698 MB / 0.5405 GB, free: 71.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002872/0.5347, allocations: 193.5 kB / 0.5407 GB, free: 71.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003541/0.535, allocations: 96.48 kB / 0.5408 GB, free: 71.23 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.001145/0.5362, allocations: 489 kB / 0.5413 GB, free: 70.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009276/0.5371, allocations: 233.8 kB / 0.5415 GB, free: 70.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004064/0.5412, allocations: 2.154 MB / 0.5436 GB, free: 69.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/0.5412, allocations: 23.56 kB / 0.5436 GB, free: 69.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.5412, allocations: 2.453 kB / 0.5436 GB, free: 69.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-05/0.5413, allocations: 10.12 kB / 0.5437 GB, free: 69.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00852/0.5498, allocations: 5.251 MB / 0.5488 GB, free: 67.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.5498, allocations: 4.953 kB / 0.5488 GB, free: 67.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/0.5513, allocations: 394.6 kB / 0.5492 GB, free: 67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.5529, allocations: 0.5007 MB / 0.5496 GB, free: 66.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.553, allocations: 43.66 kB / 0.5497 GB, free: 66.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006969/0.56, allocations: 7.557 MB / 0.5571 GB, free: 60.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.56, allocations: 7.906 kB / 0.5571 GB, free: 60.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005271/0.5653, allocations: 4.181 MB / 0.5612 GB, free: 58.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.5664, allocations: 0.5169 MB / 0.5617 GB, free: 57.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004135/0.5668, allocations: 51.47 kB / 0.5617 GB, free: 57.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/0.5685, allocations: 51.58 kB / 0.5618 GB, free: 57.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002734/0.5688, allocations: 149.8 kB / 0.5619 GB, free: 57.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.427e-05/0.5689, allocations: 58.89 kB / 0.562 GB, free: 57.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001501/0.5704, allocations: 1.109 MB / 0.563 GB, free: 57.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5704, allocations: 0 / 0.563 GB, free: 57.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002782/0.5732, allocations: 0.8928 MB / 0.5639 GB, free: 57.15 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.0003322/0.5735, allocations: 287.9 kB / 0.5642 GB, free: 56.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003274/0.5768, allocations: 2.385 MB / 0.5665 GB, free: 55.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.5768, allocations: 4.25 kB / 0.5665 GB, free: 55.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001607/0.5785, allocations: 1.396 MB / 0.5679 GB, free: 54.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.5801, allocations: 334.1 kB / 0.5682 GB, free: 53.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005197/0.5853, allocations: 4.713 MB / 0.5728 GB, free: 49.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007117/0.586, allocations: 1.55 MB / 0.5743 GB, free: 47.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005584/0.5866, allocations: 183.4 kB / 0.5745 GB, free: 47.27 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5866, allocations: 0 / 0.5745 GB, free: 47.27 MB / 414.1 MB Notification: Performance of Templates: time 0.05142/0.638, allocations: 60.07 MB / 0.6332 GB, free: 3.059 MB / 430.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)