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.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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.001393/0.001393, allocations: 103.5 kB / 16.97 MB, free: 6.168 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.001618/0.001618, allocations: 186.3 kB / 17.89 MB, free: 5.266 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.782/1.782, allocations: 205.1 MB / 223.8 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06539/0.06539, allocations: 14.17 MB / 285.3 MB, free: 13.93 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.00161/0.00161, allocations: 59.91 kB / 349.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3182, allocations: 50.13 MB / 399.4 MB, free: 48.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01639/0.3347, allocations: 18.63 MB / 418.1 MB, free: 32.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01644/0.3512, allocations: 7.616 MB / 425.7 MB, free: 25.05 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005823/0.3571, allocations: 47.88 kB / 425.7 MB, free: 25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004155/0.3613, allocations: 1.01 MB / 426.7 MB, free: 23.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01169/0.373, allocations: 3.249 MB / 430 MB, free: 20.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002641/0.3757, allocations: 0.7786 MB / 430.8 MB, free: 19.99 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008111/0.3838, allocations: 5.712 MB / 436.5 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008871/0.3847, allocations: 370.5 kB / 436.8 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003349/0.3881, allocations: 1.907 MB / 438.7 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002835/0.3909, allocations: 2.012 MB / 440.7 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003865/0.3913, allocations: 204 kB / 440.9 MB, free: 9.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002331/0.3937, allocations: 0.7184 MB / 441.7 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003702/0.3941, allocations: 0.4976 MB / 442.2 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001842/0.3959, allocations: 1.675 MB / 443.8 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005651/0.4016, allocations: 4.011 MB / 447.8 MB, free: 2.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.4016, allocations: 0 / 447.8 MB, free: 2.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.4016, allocations: 0 / 447.8 MB, free: 2.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.75e-05/0.4017, allocations: 0 / 447.8 MB, free: 2.824 MB / 318.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.01722/0.4189, allocations: 4.504 MB / 452.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.034e-05/0.419, allocations: 8.031 kB / 452.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002401/0.4214, allocations: 465 kB / 452.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004126/0.4256, allocations: 1.74 MB / 454.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.4257, allocations: 164.8 kB / 454.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002941/0.426, allocations: 211.9 kB / 454.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004011/0.4301, allocations: 2.149 MB / 457.1 MB, free: 9.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.605e-05/0.4301, allocations: 0 / 457.1 MB, free: 9.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.4303, allocations: 95.97 kB / 457.2 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.782e-05/0.4304, allocations: 52 kB / 457.2 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003863/0.4343, allocations: 2.175 MB / 459.4 MB, free: 7.023 MB / 334.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.02447/0.4588, allocations: 15.18 MB / 474.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004547/0.4633, allocations: 3.125 MB / 477.7 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.4646, allocations: 0.7949 MB / 478.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.4647, allocations: 37.97 kB / 478.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.4648, allocations: 56.5 kB / 478.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=217): time 4.819e-06/0.4648, allocations: 0 / 478.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.009329/0.4741, allocations: 3.449 MB / 482 MB, free: 14.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.4743, allocations: 73.41 kB / 482.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003245/0.4775, allocations: 1.693 MB / 483.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.4777, allocations: 53.7 kB / 483.8 MB, free: 12.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009109/0.4786, allocations: 1.062 MB / 484.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001007/0.4796, allocations: 0.7547 MB / 485.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007771/0.4804, allocations: 428.9 kB / 486.1 MB, free: 10.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4805, allocations: 313 kB / 486.4 MB, free: 9.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.4817, allocations: 0.6532 MB / 487 MB, free: 9.273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/0.4836, allocations: 1.222 MB / 488.3 MB, free: 7.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003341/0.487, allocations: 2.02 MB / 490.3 MB, free: 5.547 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.92e-05/0.487, allocations: 4 kB / 490.3 MB, free: 5.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.006202/0.4932, allocations: 2.685 MB / 493 MB, free: 2.797 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/0.4933, allocations: 16.09 kB / 493 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.664e-05/0.4933, allocations: 16 kB / 493 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002059/0.4954, allocations: 0.5364 MB / 493.5 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/0.4978, allocations: 0.5695 MB / 494.1 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/0.5092, allocations: 7.7 MB / 0.49 GB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003651/0.5129, allocations: 186.6 kB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002399/0.5132, allocations: 104 kB / 0.4903 GB, free: 9.273 MB / 382.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.001232/0.5144, allocations: 489 kB / 0.4908 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006807/0.5151, allocations: 241.2 kB / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0042/0.5193, allocations: 2.144 MB / 0.4931 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/0.5194, allocations: 20 kB / 0.4931 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.5194, allocations: 4 kB / 0.4931 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-05/0.5194, allocations: 11.95 kB / 0.4931 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.5303, allocations: 5.263 MB / 0.4983 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.749e-05/0.5304, allocations: 12 kB / 0.4983 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001957/0.5324, allocations: 387.5 kB / 0.4987 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001971/0.5344, allocations: 0.506 MB / 0.4992 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/0.5345, allocations: 39.94 kB / 0.4992 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/0.5457, allocations: 7.558 MB / 0.5066 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.5458, allocations: 11.94 kB / 0.5066 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007166/0.553, allocations: 4.185 MB / 0.5107 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/0.5546, allocations: 0.5058 MB / 0.5112 GB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000627/0.5552, allocations: 47.94 kB / 0.5112 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001925/0.5572, allocations: 59.84 kB / 0.5113 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/0.5575, allocations: 149.7 kB / 0.5114 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.5576, allocations: 55.94 kB / 0.5115 GB, free: 2.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001812/0.5594, allocations: 1.105 MB / 0.5125 GB, free: 1.652 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5594, allocations: 4 kB / 0.5126 GB, free: 1.648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003603/0.5631, allocations: 0.8939 MB / 0.5134 GB, free: 0.7539 MB / 398.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.0005825/0.5637, allocations: 279.8 kB / 0.5137 GB, free: 480 kB / 398.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.004845/0.5685, allocations: 2.394 MB / 0.516 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.5685, allocations: 384 / 0.516 GB, free: 14.03 MB / 414.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created simulation system equations: time 0.002412/0.571, allocations: 1.398 MB / 0.5174 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/0.5735, allocations: 327.6 kB / 0.5177 GB, free: 12.28 MB / 414.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.5837, allocations: 4.714 MB / 0.5223 GB, free: 7.465 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/0.5853, allocations: 1.546 MB / 0.5238 GB, free: 5.879 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008912/0.5862, allocations: 183.4 kB / 0.524 GB, free: 5.699 MB / 414.1 MB Notification: Performance of SimCode: time 1.443e-06/0.5862, allocations: 0 / 0.524 GB, free: 5.699 MB / 414.1 MB Notification: Performance of Templates: time 0.3335/0.9197, allocations: 59.74 MB / 0.5823 GB, free: 79.36 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)