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.001254/0.001254, allocations: 121.7 kB / 17.1 MB, free: 5.977 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.001169/0.001169, allocations: 194.9 kB / 18.03 MB, free: 5.059 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.327/1.327, 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.06475/0.06475, allocations: 14.17 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.001542/0.001542, allocations: 76.66 kB / 400.6 MB, free: 42.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06945/0.071, allocations: 50.12 MB / 450.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01683/0.08789, allocations: 18.63 MB / 469.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.09962, allocations: 7.62 MB / 477 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002458/0.1021, allocations: 47.88 kB / 477.1 MB, free: 484 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002994/0.1052, allocations: 1.006 MB / 478.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008992/0.1142, allocations: 3.41 MB / 481.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.1164, allocations: 0.7822 MB / 482.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007186/0.1236, allocations: 5.708 MB / 488 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007886/0.1245, allocations: 398.4 kB / 488.4 MB, free: 5.156 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002905/0.1274, allocations: 1.942 MB / 490.3 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003128/0.1305, allocations: 2.012 MB / 492.3 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006436/0.1312, allocations: 200 kB / 492.5 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.1335, allocations: 0.7224 MB / 493.2 MB, free: 276 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005914/0.1341, allocations: 0.5015 MB / 493.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002524/0.1366, allocations: 1.679 MB / 495.4 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007709/0.1443, allocations: 4.19 MB / 499.6 MB, free: 9.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1444, allocations: 0 / 499.6 MB, free: 9.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1444, allocations: 0 / 499.6 MB, free: 9.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.964e-05/0.1445, allocations: 0 / 499.6 MB, free: 9.875 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.0171/0.1616, allocations: 4.461 MB / 0.4922 GB, free: 5.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.1617, allocations: 12.03 kB / 0.4923 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002401/0.1641, allocations: 449.2 kB / 0.4927 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004178/0.1683, allocations: 1.798 MB / 0.4944 GB, free: 3.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/0.1684, allocations: 160.8 kB / 0.4946 GB, free: 2.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003901/0.1688, allocations: 215.9 kB / 0.4948 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004154/0.173, allocations: 2.141 MB / 0.4969 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.462e-05/0.1731, allocations: 4 kB / 0.4969 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000195/0.1733, allocations: 88 kB / 0.497 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.083e-05/0.1733, allocations: 56 kB / 0.497 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003893/0.1772, allocations: 2.172 MB / 0.4992 GB, free: 14.08 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.0217/0.1989, allocations: 15.16 MB / 0.514 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004807/0.2038, allocations: 3.128 MB / 0.517 GB, free: 9.875 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/0.2051, allocations: 0.8027 MB / 0.5178 GB, free: 9.074 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.2052, allocations: 29.98 kB / 0.5178 GB, free: 9.047 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.2053, allocations: 48.56 kB / 0.5179 GB, free: 8.988 MB / 414.1 MB Notification: Performance of pre-optimization done (n=217): time 4.638e-06/0.2053, allocations: 4 kB / 0.5179 GB, free: 8.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.00913/0.2144, allocations: 3.465 MB / 0.5213 GB, free: 5.449 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.2145, allocations: 73.41 kB / 0.5213 GB, free: 5.367 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003026/0.2175, allocations: 1.685 MB / 0.523 GB, free: 3.637 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001756/0.2177, allocations: 61.7 kB / 0.523 GB, free: 3.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008634/0.2186, allocations: 1.058 MB / 0.5241 GB, free: 2.496 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008834/0.2195, allocations: 0.7625 MB / 0.5248 GB, free: 1.723 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007262/0.2202, allocations: 424.9 kB / 0.5252 GB, free: 1.301 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2203, allocations: 305.1 kB / 0.5255 GB, free: 1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.2216, allocations: 0.661 MB / 0.5262 GB, free: 344 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1747/0.3963, allocations: 1.213 MB / 0.5273 GB, free: 79.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002545/0.3988, allocations: 2.023 MB / 0.5293 GB, free: 78.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/0.3988, allocations: 4.312 kB / 0.5293 GB, free: 78.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.004857/0.4037, allocations: 2.684 MB / 0.5319 GB, free: 77.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.4038, allocations: 13.28 kB / 0.532 GB, free: 77.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/0.4038, allocations: 14.59 kB / 0.532 GB, free: 77.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001817/0.4056, allocations: 0.5288 MB / 0.5325 GB, free: 77.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002307/0.4079, allocations: 0.5708 MB / 0.533 GB, free: 77.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008349/0.4163, allocations: 7.694 MB / 0.5406 GB, free: 71.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/0.419, allocations: 190.5 kB / 0.5407 GB, free: 71.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/0.4192, allocations: 100.7 kB / 0.5408 GB, free: 71.29 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.0008145/0.42, allocations: 488.7 kB / 0.5413 GB, free: 70.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005073/0.4205, allocations: 235.4 kB / 0.5415 GB, free: 70.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003875/0.4244, allocations: 2.151 MB / 0.5436 GB, free: 69.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.803e-05/0.4244, allocations: 13.14 kB / 0.5436 GB, free: 69.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.4245, allocations: 1.656 kB / 0.5436 GB, free: 69.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/0.4256, allocations: 0.5082 MB / 0.5441 GB, free: 69.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000346/0.4259, allocations: 36.62 kB / 0.5442 GB, free: 69.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/0.4275, allocations: 44.44 kB / 0.5442 GB, free: 69.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002821/0.4278, allocations: 157.8 kB / 0.5444 GB, free: 69.47 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004637/0.4324, allocations: 2.089 MB / 0.5464 GB, free: 68.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01151/0.4439, allocations: 8.43 MB / 0.5546 GB, free: 63.82 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008174/0.4448, allocations: 0.6349 MB / 0.5553 GB, free: 63.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00121/0.446, allocations: 1.106 MB / 0.5563 GB, free: 63.1 MB / 414.1 MB Notification: Performance of Backend: time 2.71e-07/0.446, allocations: 0 / 0.5563 GB, free: 63.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003934/0.4499, allocations: 2.156 MB / 0.5584 GB, free: 62.03 MB / 414.1 MB Notification: Performance of SimCode: time 0.006699/0.4567, allocations: 6.525 MB / 0.5648 GB, free: 57.82 MB / 414.1 MB Notification: Performance of Templates: time 0.05061/0.5073, allocations: 38.16 MB / 0.6021 GB, free: 19.84 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 -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)