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.001348/0.001348, allocations: 114 kB / 16.42 MB, free: 6.5 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.001296/0.001296, allocations: 181.5 kB / 17.34 MB, free: 5.723 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.419/1.419, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06594/0.06595, allocations: 14.17 MB / 284.7 MB, free: 13.85 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.002061/0.002061, allocations: 66.5 kB / 400 MB, free: 42.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07934/0.08141, allocations: 50.13 MB / 450.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01868/0.1001, allocations: 18.63 MB / 468.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01347/0.1137, allocations: 7.624 MB / 476.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00295/0.1166, allocations: 47.88 kB / 476.4 MB, free: 488 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002972/0.1197, allocations: 0.9979 MB / 477.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009632/0.1293, allocations: 3.25 MB / 480.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.1318, allocations: 0.7709 MB / 481.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009/0.1408, allocations: 5.716 MB / 487.1 MB, free: 5.738 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009067/0.1417, allocations: 386.4 kB / 487.5 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003594/0.1453, allocations: 1.899 MB / 489.4 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003734/0.1491, allocations: 2.016 MB / 491.4 MB, free: 1.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005215/0.1496, allocations: 204 kB / 491.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.152, allocations: 0.7262 MB / 492.4 MB, free: 496 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005117/0.1526, allocations: 0.4899 MB / 492.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00251/0.1551, allocations: 1.683 MB / 494.5 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007471/0.1626, allocations: 4.204 MB / 498.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1626, allocations: 0 / 498.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1626, allocations: 0 / 498.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.625e-05/0.1627, allocations: 0 / 498.7 MB, free: 10.08 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.01713/0.1798, allocations: 4.552 MB / 0.4915 GB, free: 5.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1799, allocations: 8.031 kB / 0.4915 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002147/0.1821, allocations: 474.8 kB / 0.4919 GB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003777/0.1858, allocations: 1.797 MB / 0.4937 GB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.1861, allocations: 164.8 kB / 0.4939 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000273/0.1863, allocations: 219.9 kB / 0.4941 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003724/0.1901, allocations: 2.145 MB / 0.4962 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/0.1901, allocations: 0 / 0.4962 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/0.1903, allocations: 92 kB / 0.4962 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.647e-05/0.1904, allocations: 52 kB / 0.4963 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003805/0.1942, allocations: 2.176 MB / 0.4984 GB, free: 14.16 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.02495/0.2191, allocations: 15.18 MB / 0.5132 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00478/0.2239, allocations: 3.12 MB / 0.5163 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.2253, allocations: 0.7988 MB / 0.5171 GB, free: 9.156 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.2254, allocations: 25.98 kB / 0.5171 GB, free: 9.133 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.134e-05/0.2255, allocations: 60.56 kB / 0.5172 GB, free: 9.062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=217): time 3.717e-06/0.2255, allocations: 0 / 0.5172 GB, free: 9.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.009566/0.235, allocations: 3.474 MB / 0.5205 GB, free: 5.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.2352, allocations: 73.41 kB / 0.5206 GB, free: 5.438 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003136/0.2383, allocations: 1.689 MB / 0.5223 GB, free: 3.703 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002445/0.2386, allocations: 65.64 kB / 0.5223 GB, free: 3.633 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009989/0.2396, allocations: 1.1 MB / 0.5234 GB, free: 2.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001154/0.2407, allocations: 0.7822 MB / 0.5242 GB, free: 1.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006802/0.2414, allocations: 437.1 kB / 0.5246 GB, free: 1.297 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2416, allocations: 305.1 kB / 0.5249 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.2428, allocations: 0.6571 MB / 0.5255 GB, free: 344 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.196/0.4388, allocations: 1.213 MB / 0.5267 GB, free: 79.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003078/0.4419, allocations: 2.023 MB / 0.5287 GB, free: 78.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.552e-05/0.442, allocations: 4.438 kB / 0.5287 GB, free: 78.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005688/0.4477, allocations: 2.692 MB / 0.5313 GB, free: 78.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/0.4477, allocations: 12.3 kB / 0.5313 GB, free: 78.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.881e-05/0.4478, allocations: 16.78 kB / 0.5313 GB, free: 78.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001885/0.4497, allocations: 0.5317 MB / 0.5319 GB, free: 77.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/0.4519, allocations: 0.5712 MB / 0.5324 GB, free: 77.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009166/0.461, allocations: 7.709 MB / 0.5399 GB, free: 71.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/0.4639, allocations: 193.2 kB / 0.5401 GB, free: 71.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003438/0.4642, allocations: 97.98 kB / 0.5402 GB, free: 71.87 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.001198/0.4654, allocations: 488.6 kB / 0.5407 GB, free: 71.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009391/0.4664, allocations: 248 kB / 0.5409 GB, free: 71.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004151/0.4705, allocations: 2.15 MB / 0.543 GB, free: 70.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.4706, allocations: 21.28 kB / 0.543 GB, free: 70.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.4706, allocations: 2.141 kB / 0.543 GB, free: 70.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.898e-05/0.4706, allocations: 9.844 kB / 0.5431 GB, free: 70.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008763/0.4794, allocations: 5.25 MB / 0.5482 GB, free: 67.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.4794, allocations: 6.938 kB / 0.5482 GB, free: 67.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/0.4809, allocations: 397.9 kB / 0.5486 GB, free: 67.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/0.4824, allocations: 0.5 MB / 0.5491 GB, free: 67.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.4826, allocations: 43.34 kB / 0.5491 GB, free: 67.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007086/0.4897, allocations: 7.573 MB / 0.5565 GB, free: 61.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.4897, allocations: 3.969 kB / 0.5565 GB, free: 61.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005307/0.495, allocations: 4.207 MB / 0.5606 GB, free: 58.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009135/0.496, allocations: 0.5236 MB / 0.5611 GB, free: 58.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002735/0.4962, allocations: 43.66 kB / 0.5612 GB, free: 58.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.4977, allocations: 55.16 kB / 0.5612 GB, free: 58.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002594/0.498, allocations: 153.9 kB / 0.5614 GB, free: 58.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.323e-05/0.4981, allocations: 60.56 kB / 0.5614 GB, free: 58.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001281/0.4994, allocations: 1.101 MB / 0.5625 GB, free: 57.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4994, allocations: 0 / 0.5625 GB, free: 57.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002466/0.5018, allocations: 0.8997 MB / 0.5634 GB, free: 57.74 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.0003461/0.5022, allocations: 288.4 kB / 0.5636 GB, free: 57.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003252/0.5055, allocations: 2.388 MB / 0.566 GB, free: 56.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.5055, allocations: 0 / 0.566 GB, free: 56.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.5071, allocations: 1.402 MB / 0.5673 GB, free: 54.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/0.509, allocations: 336.3 kB / 0.5677 GB, free: 54.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005333/0.5143, allocations: 4.754 MB / 0.5723 GB, free: 50.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007399/0.5151, allocations: 1.554 MB / 0.5738 GB, free: 48.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001122/0.5162, allocations: 293.1 kB / 0.5741 GB, free: 48.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004644/0.5167, allocations: 167.4 kB / 0.5743 GB, free: 48 MB / 414.1 MB Notification: Performance of SimCode: time 6.72e-07/0.5167, allocations: 0 / 0.5743 GB, free: 48 MB / 414.1 MB Notification: Performance of Templates: time 0.04038/0.5571, allocations: 30.91 MB / 0.6045 GB, free: 17.13 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=50 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)