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.00138/0.00138, allocations: 111 kB / 17.05 MB, free: 6.074 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.001355/0.001355, allocations: 191 kB / 17.98 MB, free: 5.156 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.325/1.325, 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.06184/0.06184, allocations: 14.18 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.001422/0.001422, allocations: 67.91 kB / 350 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2065, allocations: 50.12 MB / 400.1 MB, free: 48.94 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.0116/0.2181, allocations: 18.63 MB / 418.8 MB, free: 32.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009338/0.2275, allocations: 7.616 MB / 426.4 MB, free: 24.89 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002073/0.2296, allocations: 51.81 kB / 426.4 MB, free: 24.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002132/0.2318, allocations: 1.002 MB / 427.4 MB, free: 23.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007185/0.239, allocations: 3.253 MB / 430.7 MB, free: 20.61 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.2406, allocations: 0.7739 MB / 431.5 MB, free: 19.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00518/0.2458, allocations: 5.712 MB / 437.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000541/0.2463, allocations: 374.5 kB / 437.5 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.249, allocations: 1.903 MB / 439.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.2511, allocations: 2.008 MB / 441.5 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002624/0.2514, allocations: 204 kB / 441.6 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.2529, allocations: 0.7184 MB / 442.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003387/0.2533, allocations: 0.4976 MB / 442.9 MB, free: 8.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.2547, allocations: 1.679 MB / 444.5 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003327/0.258, allocations: 4.01 MB / 448.6 MB, free: 2.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.258, allocations: 4 kB / 448.6 MB, free: 2.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.258, allocations: 0 / 448.6 MB, free: 2.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.143e-05/0.2581, allocations: 0 / 448.6 MB, free: 2.676 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.01407/0.2722, allocations: 4.489 MB / 453 MB, free: 14.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2722, allocations: 16.02 kB / 453.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00198/0.2742, allocations: 453.1 kB / 453.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003653/0.2779, allocations: 1.798 MB / 455.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.278, allocations: 168.8 kB / 455.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002631/0.2783, allocations: 211.9 kB / 455.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00338/0.2817, allocations: 2.145 MB / 457.8 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.563e-05/0.2817, allocations: 3.938 kB / 457.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/0.2819, allocations: 92 kB / 457.9 MB, free: 9.078 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.969e-05/0.2819, allocations: 60 kB / 458 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003321/0.2853, allocations: 2.168 MB / 460.1 MB, free: 6.836 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.01894/0.3042, allocations: 15.18 MB / 475.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004193/0.3084, allocations: 3.129 MB / 478.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.3095, allocations: 0.791 MB / 479.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.3096, allocations: 33.98 kB / 479.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.3097, allocations: 48.56 kB / 479.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=217): time 3.657e-06/0.3097, allocations: 4 kB / 479.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.00827/0.318, allocations: 3.453 MB / 482.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.318, allocations: 73.41 kB / 482.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002439/0.3205, allocations: 1.685 MB / 484.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.415e-05/0.3206, allocations: 61.7 kB / 484.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007045/0.3213, allocations: 1.062 MB / 485.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000674/0.322, allocations: 0.7508 MB / 486.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005686/0.3226, allocations: 436.8 kB / 486.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.855e-05/0.3227, allocations: 309.1 kB / 487.1 MB, free: 9.746 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.3238, allocations: 0.6532 MB / 487.8 MB, free: 9.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.3252, allocations: 1.218 MB / 489 MB, free: 7.641 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002699/0.328, allocations: 2.021 MB / 491 MB, free: 5.367 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.328, allocations: 4 kB / 491 MB, free: 5.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.004853/0.3328, allocations: 2.688 MB / 493.7 MB, free: 2.613 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.3329, allocations: 12 kB / 493.7 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.3329, allocations: 16 kB / 493.7 MB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001776/0.3347, allocations: 0.5487 MB / 494.3 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002216/0.3369, allocations: 0.5734 MB / 494.9 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009292/0.3462, allocations: 7.688 MB / 0.4908 GB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/0.3489, allocations: 182.6 kB / 0.491 GB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.3491, allocations: 100.1 kB / 0.491 GB, free: 9.09 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.0008447/0.3499, allocations: 496.9 kB / 0.4915 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004588/0.3504, allocations: 233.3 kB / 0.4917 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/0.3542, allocations: 2.152 MB / 0.4938 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.3542, allocations: 23.98 kB / 0.4939 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3542, allocations: 0 / 0.4939 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.3542, allocations: 7.969 kB / 0.4939 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007628/0.3619, allocations: 5.254 MB / 0.499 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.3619, allocations: 4 kB / 0.499 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/0.3635, allocations: 395.5 kB / 0.4994 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001634/0.3652, allocations: 0.4983 MB / 0.4999 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.439e-05/0.3653, allocations: 36 kB / 0.4999 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008306/0.3736, allocations: 7.561 MB / 0.5073 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/0.3736, allocations: 8 kB / 0.5073 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006096/0.3798, allocations: 4.194 MB / 0.5114 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.3808, allocations: 0.5058 MB / 0.5119 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002844/0.3811, allocations: 43.94 kB / 0.5119 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/0.3826, allocations: 63.84 kB / 0.512 GB, free: 2.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002781/0.3829, allocations: 149.7 kB / 0.5121 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.351e-05/0.383, allocations: 52 kB / 0.5122 GB, free: 2.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001542/0.3846, allocations: 1.109 MB / 0.5133 GB, free: 1.473 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3846, allocations: 0 / 0.5133 GB, free: 1.473 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00288/0.3874, allocations: 0.89 MB / 0.5141 GB, free: 0.582 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.0004268/0.3879, allocations: 287 kB / 0.5144 GB, free: 296 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.00383/0.3917, allocations: 2.394 MB / 0.5167 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.3917, allocations: 4.188 kB / 0.5168 GB, free: 13.85 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.002043/0.3938, allocations: 1.394 MB / 0.5181 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/0.3956, allocations: 325.2 kB / 0.5184 GB, free: 12.1 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.006727/0.4023, allocations: 4.672 MB / 0.523 GB, free: 7.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.4034, allocations: 1.546 MB / 0.5245 GB, free: 5.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001192/0.4046, allocations: 300.9 kB / 0.5248 GB, free: 5.457 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004968/0.4051, allocations: 163.4 kB / 0.5249 GB, free: 5.297 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4051, allocations: 0 / 0.5249 GB, free: 5.297 MB / 414.1 MB Notification: Performance of Templates: time 0.1837/0.5888, allocations: 30.26 MB / 0.5545 GB, free: 110.1 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 -s gbode -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)