Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_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.001152/0.001152, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001312/0.001312, allocations: 190.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07668/0.07668, allocations: 16.77 MB / 308 MB, free: 14.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.89 kB / 427.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08349/0.08469, allocations: 53.56 MB / 480.8 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.02457/0.1093, allocations: 30.18 MB / 0.499 GB, free: 6.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2028/0.3121, allocations: 8.653 MB / 0.5075 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00262/0.3148, allocations: 68.52 kB / 0.5075 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002548/0.3174, allocations: 1.146 MB / 0.5087 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008516/0.3259, allocations: 3.942 MB / 0.5125 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003119/0.329, allocations: 1.508 MB / 0.514 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007704/0.3367, allocations: 6.963 MB / 0.5208 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007605/0.3375, allocations: 498.9 kB / 0.5213 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003478/0.341, allocations: 2.345 MB / 0.5236 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003089/0.3441, allocations: 2.554 MB / 0.526 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004853/0.3446, allocations: 274.6 kB / 0.5263 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.3466, allocations: 0.7888 MB / 0.5271 GB, free: 15.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005674/0.3472, allocations: 0.7141 MB / 0.5278 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00219/0.3494, allocations: 2.226 MB / 0.53 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004851/0.3542, allocations: 5.03 MB / 0.5349 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3543, allocations: 0 / 0.5349 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.3543, allocations: 5.453 kB / 0.5349 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.285e-05/0.3543, allocations: 0 / 0.5349 GB, free: 11.39 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 710 * Number of variables: 710 Notification: Performance of Generate backend data structure: time 0.02169/0.376, allocations: 6.374 MB / 0.5411 GB, free: 7.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3761, allocations: 11.22 kB / 0.5411 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/0.3785, allocations: 0.5743 MB / 0.5417 GB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004072/0.3826, allocations: 2.338 MB / 0.544 GB, free: 5.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.3827, allocations: 218.4 kB / 0.5442 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002813/0.383, allocations: 288.8 kB / 0.5444 GB, free: 5.477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00437/0.3874, allocations: 3.401 MB / 0.5478 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-05/0.3875, allocations: 23.75 kB / 0.5478 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/0.3877, allocations: 128 kB / 0.5479 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.066e-05/0.3878, allocations: 76.88 kB / 0.548 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003869/0.3916, allocations: 2.69 MB / 0.5506 GB, free: 15.09 MB / 414.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.02184/0.4135, allocations: 22.08 MB / 0.5722 GB, free: 8.113 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004353/0.4179, allocations: 2.453 MB / 0.5746 GB, free: 5.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.4192, allocations: 0.9121 MB / 0.5755 GB, free: 4.762 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.4193, allocations: 42.75 kB / 0.5755 GB, free: 4.727 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.4194, allocations: 65.31 kB / 0.5756 GB, free: 4.652 MB / 430.1 MB Notification: Performance of pre-optimization done (n=251): time 4.148e-06/0.4194, allocations: 0 / 0.5756 GB, free: 4.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=251): time 0.01356/0.433, allocations: 4.743 MB / 0.5802 GB, free: 15.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.433, allocations: 81.41 kB / 0.5803 GB, free: 15.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004724/0.4377, allocations: 3.197 MB / 0.5834 GB, free: 12.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001858/0.4379, allocations: 77.7 kB / 0.5835 GB, free: 12.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001379/0.4393, allocations: 1.577 MB / 0.585 GB, free: 10.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001043/0.4404, allocations: 1.016 MB / 0.586 GB, free: 9.906 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002613/0.443, allocations: 1.632 MB / 0.5876 GB, free: 8.262 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.621e-05/0.4431, allocations: 305.1 kB / 0.5879 GB, free: 7.961 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003693/0.4468, allocations: 2.193 MB / 0.59 GB, free: 5.762 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004225/0.451, allocations: 2.945 MB / 0.5929 GB, free: 2.719 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006148/0.4572, allocations: 4.217 MB / 0.597 GB, free: 14.37 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.721e-05/0.4572, allocations: 4 kB / 0.597 GB, free: 14.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01176/0.469, allocations: 7.305 MB / 0.6041 GB, free: 6.977 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.469, allocations: 4 kB / 0.6042 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.872e-05/0.4691, allocations: 12 kB / 0.6042 GB, free: 6.961 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004507/0.4736, allocations: 0.8895 MB / 0.605 GB, free: 6.062 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006222/0.4798, allocations: 1.744 MB / 0.6067 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.4921, allocations: 8.881 MB / 0.6154 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006049/0.4982, allocations: 0.5689 MB / 0.616 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005459/0.4987, allocations: 276.1 kB / 0.6162 GB, free: 10.19 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 8 (NTLV2.isSlackBus,NTHV2.isSlackBus,NTHV1.isSlackBus,NTLV1.isSlackBus,GRIDL2.isSlackBus,GRIDL1.isSlackBus,GEN2.isSlackBus,GEN1.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1119): * Single equations (assignments): 1116 * 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 {(2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(17,0), (39,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001415/0.5001, allocations: 0.7208 MB / 0.6169 GB, free: 9.461 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007842/0.5009, allocations: 367.5 kB / 0.6173 GB, free: 9.098 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005029/0.506, allocations: 2.598 MB / 0.6198 GB, free: 6.477 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/0.506, allocations: 19.94 kB / 0.6198 GB, free: 6.457 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.506, allocations: 4 kB / 0.6198 GB, free: 6.453 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001755/0.5078, allocations: 0.7345 MB / 0.6206 GB, free: 5.695 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007478/0.5085, allocations: 36 kB / 0.6206 GB, free: 5.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00273/0.5113, allocations: 107.9 kB / 0.6207 GB, free: 5.555 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002863/0.5116, allocations: 177.7 kB / 0.6209 GB, free: 5.383 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005741/0.5173, allocations: 2.492 MB / 0.6233 GB, free: 2.922 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00446/0.5218, allocations: 3.09 MB / 0.6263 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001074/0.5229, allocations: 0.7749 MB / 0.6271 GB, free: 15.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002747/0.5256, allocations: 1.922 MB / 0.629 GB, free: 13.13 MB / 494.1 MB Notification: Performance of Backend: time 4.91e-07/0.5257, allocations: 0 / 0.629 GB, free: 13.13 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01061/0.5363, allocations: 5.63 MB / 0.6344 GB, free: 7.492 MB / 494.1 MB Notification: Performance of SimCode: time 0.008259/0.5445, allocations: 5.782 MB / 0.6401 GB, free: 1.691 MB / 494.1 MB Notification: Performance of Templates: time 0.08259/0.6271, allocations: 51.36 MB / 0.6903 GB, free: 14.48 MB / 0.545 GB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)