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.001212/0.001212, allocations: 108 kB / 17.05 MB, free: 5.812 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.001179/0.001179, allocations: 195 kB / 17.99 MB, free: 5.023 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.383/1.383, allocations: 205.1 MB / 223.9 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0649/0.0649, allocations: 14.17 MB / 285.4 MB, free: 13.89 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: 67.91 kB / 350 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2188, allocations: 50.12 MB / 400.1 MB, free: 48.97 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01244/0.2313, allocations: 18.63 MB / 418.8 MB, free: 32.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009952/0.2413, allocations: 7.616 MB / 426.4 MB, free: 24.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002748/0.2441, allocations: 51.81 kB / 426.4 MB, free: 24.85 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002667/0.2468, allocations: 0.9979 MB / 427.4 MB, free: 23.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00766/0.2545, allocations: 3.247 MB / 430.7 MB, free: 20.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.2564, allocations: 0.7856 MB / 431.5 MB, free: 19.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006354/0.2628, allocations: 5.708 MB / 437.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007088/0.2635, allocations: 382.4 kB / 437.5 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002352/0.2659, allocations: 1.899 MB / 439.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002549/0.2685, allocations: 2.012 MB / 441.5 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005333/0.269, allocations: 204 kB / 441.7 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001953/0.271, allocations: 0.7184 MB / 442.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003602/0.2713, allocations: 0.4937 MB / 442.9 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00189/0.2732, allocations: 1.683 MB / 444.5 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00383/0.2771, allocations: 4.006 MB / 448.6 MB, free: 2.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.2771, allocations: 0 / 448.6 MB, free: 2.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2771, allocations: 0 / 448.6 MB, free: 2.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.11e-05/0.2772, allocations: 0 / 448.6 MB, free: 2.684 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.01509/0.2923, allocations: 4.497 MB / 453.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/0.2924, allocations: 12.03 kB / 453.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00244/0.2948, allocations: 457.1 kB / 453.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003953/0.2988, allocations: 1.798 MB / 455.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.2989, allocations: 160.8 kB / 455.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/0.2992, allocations: 215.9 kB / 455.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003328/0.3025, allocations: 2.141 MB / 457.8 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/0.3026, allocations: 8 kB / 457.8 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/0.3027, allocations: 84 kB / 457.9 MB, free: 9.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.834e-05/0.3028, allocations: 56 kB / 458 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003405/0.3062, allocations: 2.172 MB / 460.1 MB, free: 6.848 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.01962/0.3258, allocations: 15.17 MB / 475.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004196/0.3301, allocations: 3.137 MB / 478.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.3312, allocations: 0.7949 MB / 479.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.3313, allocations: 26 kB / 479.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.3313, allocations: 56.55 kB / 479.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=217): time 4.749e-06/0.3314, allocations: 0 / 479.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.00848/0.3398, allocations: 3.457 MB / 482.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.3399, allocations: 73.41 kB / 482.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002432/0.3424, allocations: 1.689 MB / 484.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001535/0.3425, allocations: 61.7 kB / 484.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007226/0.3433, allocations: 1.054 MB / 485.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008432/0.3441, allocations: 0.7508 MB / 486.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006728/0.3448, allocations: 432.8 kB / 486.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3449, allocations: 309.1 kB / 487.1 MB, free: 9.758 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.346, allocations: 0.661 MB / 487.8 MB, free: 9.094 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.3475, allocations: 1.214 MB / 489 MB, free: 7.648 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002668/0.3501, allocations: 2.024 MB / 491 MB, free: 5.371 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.3502, allocations: 8 kB / 491 MB, free: 5.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.0054/0.3556, allocations: 2.684 MB / 493.7 MB, free: 2.617 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.3557, allocations: 12 kB / 493.7 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-05/0.3557, allocations: 16 kB / 493.7 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/0.3576, allocations: 0.5296 MB / 494.3 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/0.36, allocations: 0.5812 MB / 494.9 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009775/0.3698, allocations: 7.699 MB / 0.4908 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002763/0.3726, allocations: 190.6 kB / 0.491 GB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002453/0.3728, allocations: 96 kB / 0.491 GB, free: 9.094 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.000921/0.3738, allocations: 489 kB / 0.4915 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006492/0.3744, allocations: 237.3 kB / 0.4917 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003837/0.3783, allocations: 2.152 MB / 0.4938 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.3783, allocations: 20 kB / 0.4939 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3783, allocations: 0 / 0.4939 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-05/0.3783, allocations: 11.95 kB / 0.4939 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007944/0.3863, allocations: 5.247 MB / 0.499 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.3863, allocations: 4 kB / 0.499 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/0.388, allocations: 395.6 kB / 0.4994 GB, free: 308 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001718/0.3897, allocations: 0.5022 MB / 0.4999 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/0.3899, allocations: 47.98 kB / 0.4999 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008367/0.3982, allocations: 7.557 MB / 0.5073 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.3983, allocations: 8.156 kB / 0.5073 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006294/0.4046, allocations: 4.186 MB / 0.5114 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/0.4058, allocations: 0.5097 MB / 0.5119 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003275/0.4061, allocations: 47.92 kB / 0.5119 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/0.4077, allocations: 59.84 kB / 0.512 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002727/0.408, allocations: 149.7 kB / 0.5121 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.196e-05/0.4081, allocations: 52 kB / 0.5122 GB, free: 2.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001543/0.4097, allocations: 1.105 MB / 0.5133 GB, free: 1.484 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4097, allocations: 0 / 0.5133 GB, free: 1.484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002793/0.4125, allocations: 0.8939 MB / 0.5141 GB, free: 0.5898 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.0004536/0.413, allocations: 288.4 kB / 0.5144 GB, free: 304 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.003864/0.4168, allocations: 2.394 MB / 0.5167 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.4169, allocations: 0 / 0.5167 GB, free: 13.86 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.00209/0.4189, allocations: 1.394 MB / 0.5181 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.4211, allocations: 328.7 kB / 0.5184 GB, free: 12.11 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.007772/0.4289, allocations: 4.667 MB / 0.523 GB, free: 7.352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.4302, allocations: 1.554 MB / 0.5245 GB, free: 5.758 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001289/0.4315, allocations: 292.9 kB / 0.5248 GB, free: 5.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005586/0.432, allocations: 163.4 kB / 0.5249 GB, free: 5.309 MB / 414.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4321, allocations: 4.094 kB / 0.5249 GB, free: 5.305 MB / 414.1 MB Notification: Performance of Templates: time 0.2079/0.6399, allocations: 30.25 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 cvode -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)