Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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: "" <> buildModelFMU(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_IslandOperation_PowerFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_IslandOperation_PowerFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00641/0.00641, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.00116/0.00116, allocations: 198.7 kB / 16.68 MB, free: 5.93 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.353/1.353, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07454/0.07454, allocations: 14.17 MB / 284.1 MB, free: 6.988 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.001656/0.001656, allocations: 67.89 kB / 398.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2395, allocations: 50.14 MB / 448.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01616/0.2557, allocations: 18.62 MB / 467.5 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.268, allocations: 7.625 MB / 475.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002633/0.2707, allocations: 51.81 kB / 475.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002842/0.2736, allocations: 1.002 MB / 476.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01035/0.284, allocations: 3.413 MB / 479.6 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003122/0.2871, allocations: 0.7672 MB / 480.4 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009299/0.2964, allocations: 5.716 MB / 486.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009807/0.2975, allocations: 382.4 kB / 486.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003672/0.3011, allocations: 1.95 MB / 488.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003584/0.3047, allocations: 2.012 MB / 490.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004682/0.3052, allocations: 204 kB / 490.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002214/0.3074, allocations: 0.7184 MB / 491.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000431/0.3079, allocations: 0.4938 MB / 491.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002329/0.3102, allocations: 1.679 MB / 493.5 MB, free: 10 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00583/0.3161, allocations: 4.194 MB / 497.7 MB, free: 5.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3161, allocations: 0 / 497.7 MB, free: 5.793 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3161, allocations: 4 kB / 497.7 MB, free: 5.789 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.574e-05/0.3162, allocations: 0 / 497.7 MB, free: 5.789 MB / 366.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.01485/0.3311, allocations: 4.465 MB / 0.4904 GB, free: 1.254 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3311, allocations: 8.031 kB / 0.4904 GB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003652/0.3315, allocations: 304.4 kB / 0.4907 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.3334, allocations: 453.2 kB / 0.4912 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003601/0.337, allocations: 1.791 MB / 0.4929 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.3372, allocations: 164.5 kB / 0.4931 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002932/0.3375, allocations: 212 kB / 0.4933 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003703/0.3412, allocations: 2.141 MB / 0.4954 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.575e-05/0.3413, allocations: 7.938 kB / 0.4954 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/0.3415, allocations: 92 kB / 0.4955 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.842e-05/0.3415, allocations: 56 kB / 0.4955 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00367/0.3452, allocations: 2.168 MB / 0.4976 GB, free: 9.688 MB / 382.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.01953/0.3647, allocations: 15.16 MB / 0.5124 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004167/0.3689, allocations: 3.124 MB / 0.5155 GB, free: 5.477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.37, allocations: 0.8027 MB / 0.5163 GB, free: 4.676 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.3701, allocations: 29.98 kB / 0.5163 GB, free: 4.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.3702, allocations: 52.56 kB / 0.5164 GB, free: 4.586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=217): time 4.158e-06/0.3702, allocations: 0 / 0.5164 GB, free: 4.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=217): time 0.008306/0.3785, allocations: 3.461 MB / 0.5197 GB, free: 1.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.3786, allocations: 73.41 kB / 0.5198 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/0.381, allocations: 1.685 MB / 0.5215 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.717e-05/0.3811, allocations: 65.64 kB / 0.5215 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007318/0.3818, allocations: 1.062 MB / 0.5225 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006806/0.3825, allocations: 0.7547 MB / 0.5233 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005894/0.3831, allocations: 432.8 kB / 0.5237 GB, free: 12.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3832, allocations: 305.1 kB / 0.524 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.3843, allocations: 0.661 MB / 0.5246 GB, free: 11.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.3857, allocations: 1.207 MB / 0.5258 GB, free: 10.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002645/0.3883, allocations: 2.032 MB / 0.5278 GB, free: 8.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.3884, allocations: 4 kB / 0.5278 GB, free: 8.211 MB / 414.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.004912/0.3933, allocations: 2.692 MB / 0.5304 GB, free: 5.457 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.3933, allocations: 12 kB / 0.5304 GB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/0.3933, allocations: 16 kB / 0.5305 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001758/0.3951, allocations: 0.5217 MB / 0.531 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/0.3972, allocations: 0.5812 MB / 0.5315 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009177/0.4064, allocations: 7.702 MB / 0.5391 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003078/0.4095, allocations: 186.6 kB / 0.5392 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002613/0.4098, allocations: 96 kB / 0.5393 GB, free: 11.93 MB / 430.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.000815/0.4107, allocations: 481.1 kB / 0.5398 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004887/0.4111, allocations: 237.2 kB / 0.54 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/0.4149, allocations: 2.144 MB / 0.5421 GB, free: 9.047 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.415, allocations: 24.03 kB / 0.5421 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.415, allocations: 3.938 kB / 0.5421 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.887e-05/0.415, allocations: 15.95 kB / 0.5421 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007677/0.4227, allocations: 5.251 MB / 0.5473 GB, free: 3.527 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.4227, allocations: 8.031 kB / 0.5473 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/0.4243, allocations: 391.5 kB / 0.5477 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001693/0.426, allocations: 0.5025 MB / 0.5481 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001681/0.4262, allocations: 44 kB / 0.5482 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008688/0.4349, allocations: 7.557 MB / 0.5556 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.839e-06/0.435, allocations: 8 kB / 0.5556 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004464/0.4394, allocations: 2.305 MB / 0.5578 GB, free: 8.211 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00161/0.4411, allocations: 0.5058 MB / 0.5583 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003542/0.4414, allocations: 51.98 kB / 0.5584 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/0.443, allocations: 55.84 kB / 0.5584 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003078/0.4433, allocations: 153.8 kB / 0.5586 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.607e-05/0.4434, allocations: 55.98 kB / 0.5586 GB, free: 7.375 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001642/0.4451, allocations: 1.101 MB / 0.5597 GB, free: 6.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4451, allocations: 0 / 0.5597 GB, free: 6.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002613/0.4477, allocations: 0.89 MB / 0.5606 GB, free: 5.359 MB / 446.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.00445/0.4521, allocations: 3.04 MB / 0.5635 GB, free: 2.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004127/0.4563, allocations: 2.379 MB / 0.5659 GB, free: 15.81 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.4563, allocations: 8.062 kB / 0.5659 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002139/0.4585, allocations: 1.398 MB / 0.5672 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.4603, allocations: 337 kB / 0.5676 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02437/0.4847, allocations: 16.42 MB / 0.5836 GB, free: 12.81 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.4859, allocations: 1.486 MB / 0.585 GB, free: 11.29 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001303/0.4873, allocations: 308.9 kB / 0.5853 GB, free: 10.99 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/0.4885, allocations: 0.882 MB / 0.5862 GB, free: 10.11 MB / 478.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4885, allocations: 0 / 0.5862 GB, free: 10.11 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2859/0.7743, allocations: 51.51 MB / 0.6365 GB, free: 115.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.73/16.5, allocations: 10 kB / 0.6365 GB, free: 115.3 MB / 478.1 MB (rm -f PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Examples_Tutorial_IslandOperation_PowerFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Examples_Tutorial_IslandOperation_PowerFlow.fmu > PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)