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.001285/0.001285, allocations: 107.2 kB / 17.08 MB, free: 5.797 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.001303/0.001304, allocations: 196.2 kB / 18.02 MB, free: 4.914 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.535/1.535, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06188/0.06188, allocations: 14.16 MB / 285.4 MB, free: 13.86 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.002631/0.002632, allocations: 72.48 kB / 400.6 MB, free: 42.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1405, allocations: 50.14 MB / 450.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.02122/0.1618, allocations: 18.62 MB / 469.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01728/0.1791, allocations: 7.616 MB / 477 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00413/0.1833, allocations: 47.88 kB / 477.1 MB, free: 492 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004181/0.1876, allocations: 1.01 MB / 478.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01206/0.1996, allocations: 3.246 MB / 481.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.2024, allocations: 0.7748 MB / 482.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00975/0.2121, allocations: 5.712 MB / 487.8 MB, free: 5.734 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.2133, allocations: 382.4 kB / 488.2 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004206/0.2175, allocations: 1.942 MB / 490.1 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004161/0.2217, allocations: 2.016 MB / 492.1 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009465/0.2226, allocations: 200 kB / 492.3 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003441/0.2261, allocations: 0.7263 MB / 493 MB, free: 456 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009988/0.2271, allocations: 0.4938 MB / 493.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004247/0.2314, allocations: 1.675 MB / 495.2 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006846/0.2382, allocations: 4.202 MB / 499.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.2383, allocations: 4 kB / 499.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.2383, allocations: 0 / 499.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.114e-05/0.2383, allocations: 0 / 499.4 MB, free: 10.05 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.01594/0.2543, allocations: 4.458 MB / 0.4921 GB, free: 5.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.2544, allocations: 12.03 kB / 0.4921 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002151/0.2565, allocations: 457.1 kB / 0.4925 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003997/0.2605, allocations: 1.795 MB / 0.4943 GB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.2607, allocations: 160.8 kB / 0.4944 GB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/0.261, allocations: 215.9 kB / 0.4946 GB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003738/0.2647, allocations: 2.141 MB / 0.4967 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/0.2648, allocations: 4 kB / 0.4967 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001822/0.265, allocations: 84 kB / 0.4968 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.628e-05/0.265, allocations: 56 kB / 0.4969 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003982/0.269, allocations: 2.179 MB / 0.499 GB, free: 14.25 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.0229/0.2919, allocations: 15.16 MB / 0.5138 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004488/0.2965, allocations: 3.116 MB / 0.5168 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.2976, allocations: 0.8027 MB / 0.5176 GB, free: 9.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.2977, allocations: 33.97 kB / 0.5177 GB, free: 9.219 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.08e-05/0.2978, allocations: 52.56 kB / 0.5177 GB, free: 9.156 MB / 414.1 MB Notification: Performance of pre-optimization done (n=217): time 4.829e-06/0.2978, allocations: 0 / 0.5177 GB, free: 9.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.008814/0.3066, allocations: 3.461 MB / 0.5211 GB, free: 5.625 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/0.3067, allocations: 73.41 kB / 0.5212 GB, free: 5.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002913/0.3097, allocations: 1.685 MB / 0.5228 GB, free: 3.812 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.3098, allocations: 65.64 kB / 0.5229 GB, free: 3.742 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000925/0.3107, allocations: 1.062 MB / 0.5239 GB, free: 2.664 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009407/0.3117, allocations: 0.7586 MB / 0.5246 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006445/0.3123, allocations: 428.9 kB / 0.5251 GB, free: 1.469 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3125, allocations: 309.1 kB / 0.5253 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.3136, allocations: 0.661 MB / 0.526 GB, free: 0.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3173/0.6308, allocations: 1.209 MB / 0.5272 GB, free: 78.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003235/0.6341, allocations: 2.022 MB / 0.5291 GB, free: 78.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-05/0.6341, allocations: 5.812 kB / 0.5292 GB, free: 78.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005927/0.6401, allocations: 2.682 MB / 0.5318 GB, free: 77.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/0.6401, allocations: 11 kB / 0.5318 GB, free: 77.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.698e-05/0.6402, allocations: 16.5 kB / 0.5318 GB, free: 77.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00207/0.6423, allocations: 0.5294 MB / 0.5323 GB, free: 77.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002336/0.6446, allocations: 0.577 MB / 0.5329 GB, free: 77.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/0.6551, allocations: 7.697 MB / 0.5404 GB, free: 71.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003935/0.6591, allocations: 187 kB / 0.5406 GB, free: 71.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002343/0.6593, allocations: 96.56 kB / 0.5407 GB, free: 71.21 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.001271/0.6606, allocations: 488.5 kB / 0.5411 GB, free: 70.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005661/0.6612, allocations: 234.6 kB / 0.5414 GB, free: 70.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004161/0.6653, allocations: 2.156 MB / 0.5435 GB, free: 69.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/0.6654, allocations: 20.56 kB / 0.5435 GB, free: 69.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6654, allocations: 1.828 kB / 0.5435 GB, free: 69.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-05/0.6654, allocations: 10.12 kB / 0.5435 GB, free: 69.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008767/0.6742, allocations: 5.249 MB / 0.5486 GB, free: 67.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.6742, allocations: 0.75 kB / 0.5486 GB, free: 67.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/0.6757, allocations: 397.3 kB / 0.549 GB, free: 66.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.6773, allocations: 0.4974 MB / 0.5495 GB, free: 66.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.568e-05/0.6774, allocations: 44.12 kB / 0.5495 GB, free: 66.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007618/0.685, allocations: 7.561 MB / 0.5569 GB, free: 60.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.685, allocations: 15.67 kB / 0.5569 GB, free: 60.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005751/0.6908, allocations: 4.18 MB / 0.561 GB, free: 58.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/0.692, allocations: 0.515 MB / 0.5615 GB, free: 57.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.6922, allocations: 43.81 kB / 0.5615 GB, free: 57.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/0.6937, allocations: 55.48 kB / 0.5616 GB, free: 57.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/0.6939, allocations: 149.6 kB / 0.5617 GB, free: 57.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-05/0.694, allocations: 58.84 kB / 0.5618 GB, free: 57.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001458/0.6955, allocations: 1.107 MB / 0.5629 GB, free: 57.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6955, allocations: 4 kB / 0.5629 GB, free: 57.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003178/0.6987, allocations: 0.892 MB / 0.5638 GB, free: 57.14 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.0004602/0.6991, allocations: 286.8 kB / 0.564 GB, free: 56.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003907/0.7031, allocations: 2.384 MB / 0.5664 GB, free: 55.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7031, allocations: 4.062 kB / 0.5664 GB, free: 55.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001637/0.7047, allocations: 1.4 MB / 0.5677 GB, free: 54.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.7062, allocations: 331.5 kB / 0.568 GB, free: 54.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005866/0.7121, allocations: 4.712 MB / 0.5726 GB, free: 49.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008415/0.7129, allocations: 1.55 MB / 0.5742 GB, free: 47.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000554/0.7135, allocations: 183.4 kB / 0.5743 GB, free: 47.54 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.7135, allocations: 0 / 0.5743 GB, free: 47.54 MB / 414.1 MB Notification: Performance of Templates: time 0.06525/0.7787, allocations: 60.07 MB / 0.633 GB, free: 3.328 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)