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.0012/0.001205, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001284/0.001284, allocations: 192.2 kB / 16.25 MB, free: 6.621 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.53/1.53, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06521/0.06521, allocations: 14.15 MB / 283.6 MB, free: 7.25 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.001965/0.001966, allocations: 67.91 kB / 347.4 MB, free: 16.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1368, allocations: 50.12 MB / 397.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.02174/0.1585, allocations: 19.01 MB / 416.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01736/0.176, allocations: 7.663 MB / 424.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006605/0.1828, allocations: 51.81 kB / 424.3 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004754/0.1876, allocations: 0.875 MB / 425.1 MB, free: 3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01626/0.2039, allocations: 2.972 MB / 428.1 MB, free: 56 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3008/0.5047, allocations: 0.7147 MB / 428.8 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01503/0.5198, allocations: 6.007 MB / 434.8 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001785/0.5216, allocations: 384.5 kB / 435.2 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006258/0.5279, allocations: 1.699 MB / 436.9 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00551/0.5334, allocations: 1.76 MB / 438.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006199/0.5341, allocations: 149.6 kB / 438.8 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003716/0.5378, allocations: 0.6719 MB / 439.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005073/0.5383, allocations: 420.1 kB / 439.9 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002747/0.5411, allocations: 1.591 MB / 441.5 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006361/0.5474, allocations: 3.734 MB / 445.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.5475, allocations: 5.25 kB / 445.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5475, allocations: 0 / 445.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.141e-05/0.5476, allocations: 0 / 445.2 MB, free: 13.12 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.015/0.5626, allocations: 4.271 MB / 449.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.674e-05/0.5627, allocations: 10 kB / 449.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000388/0.563, allocations: 304.7 kB / 449.8 MB, free: 10.87 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.5653, allocations: 454.4 kB / 450.3 MB, free: 10.69 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003374/0.5686, allocations: 1.656 MB / 451.9 MB, free: 9.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.5688, allocations: 167.4 kB / 452.1 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002906/0.5691, allocations: 209.8 kB / 452.3 MB, free: 9.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003705/0.5728, allocations: 2.154 MB / 454.4 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/0.5728, allocations: 0 / 454.4 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.573, allocations: 91.91 kB / 454.5 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-05/0.5731, allocations: 54.03 kB / 454.6 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003381/0.5765, allocations: 2.179 MB / 456.8 MB, free: 7.305 MB / 318.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.0171/0.5936, allocations: 13.96 MB / 470.7 MB, free: 8.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004892/0.5985, allocations: 3.118 MB / 473.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.5998, allocations: 0.8027 MB / 474.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001325/0.5999, allocations: 29.91 kB / 474.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/0.6, allocations: 56.56 kB / 474.7 MB, free: 4.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=217): time 4.699e-06/0.6, allocations: 0 / 474.7 MB, free: 4.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=217): time 0.009349/0.6093, allocations: 3.453 MB / 478.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.6094, allocations: 77.39 kB / 478.3 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002739/0.6122, allocations: 1.517 MB / 479.8 MB, free: 15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.6123, allocations: 61.7 kB / 479.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.6134, allocations: 1.065 MB / 480.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009924/0.6144, allocations: 0.7523 MB / 481.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007266/0.6151, allocations: 432.8 kB / 482.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.6153, allocations: 305.1 kB / 482.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.6165, allocations: 0.661 MB / 483 MB, free: 11.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.6183, allocations: 1.214 MB / 484.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002853/0.6212, allocations: 2.023 MB / 486.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.6212, allocations: 4 kB / 486.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005634/0.6268, allocations: 2.684 MB / 489 MB, free: 5.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.6269, allocations: 12 kB / 489 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-05/0.6269, allocations: 20.34 kB / 489 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001958/0.6289, allocations: 0.5524 MB / 489.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002231/0.6311, allocations: 0.5734 MB / 490.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.6418, allocations: 7.604 MB / 497.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003191/0.645, allocations: 214.1 kB / 497.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.6452, allocations: 96 kB / 498 MB, free: 11.79 MB / 366.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.001256/0.6465, allocations: 482.1 kB / 498.5 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004369/0.6469, allocations: 237.3 kB / 498.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004069/0.651, allocations: 2.152 MB / 0.4891 GB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.651, allocations: 20 kB / 0.4892 GB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.651, allocations: 1.125 kB / 0.4892 GB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/0.6511, allocations: 11.95 kB / 0.4892 GB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008058/0.6591, allocations: 4.906 MB / 0.494 GB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.6591, allocations: 4 kB / 0.494 GB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/0.6608, allocations: 387.7 kB / 0.4943 GB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001672/0.6625, allocations: 0.5144 MB / 0.4948 GB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.6626, allocations: 44 kB / 0.4949 GB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008828/0.6714, allocations: 7.501 MB / 0.5022 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.6714, allocations: 7.938 kB / 0.5022 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004496/0.6759, allocations: 2.307 MB / 0.5045 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.6771, allocations: 466 kB / 0.5049 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.6774, allocations: 36 kB / 0.5049 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.6786, allocations: 75.59 kB / 0.505 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003141/0.6789, allocations: 157.7 kB / 0.5052 GB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.205e-05/0.679, allocations: 52 kB / 0.5052 GB, free: 7.746 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001468/0.6805, allocations: 0.9881 MB / 0.5062 GB, free: 6.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6805, allocations: 0 / 0.5062 GB, free: 6.734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002794/0.6833, allocations: 0.812 MB / 0.507 GB, free: 5.922 MB / 382.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.004595/0.6879, allocations: 3.037 MB / 0.5099 GB, free: 2.805 MB / 382.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.006557/0.6945, allocations: 2.449 MB / 0.5123 GB, free: 324 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.6945, allocations: 0 / 0.5123 GB, free: 324 kB / 382.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.002357/0.6969, allocations: 1.398 MB / 0.5137 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.6992, allocations: 265.4 kB / 0.5139 GB, free: 14.62 MB / 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 linear, non-linear and system jacobian parts: time 0.03337/0.7325, allocations: 18.52 MB / 0.532 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/0.7342, allocations: 1.49 MB / 0.5335 GB, free: 8.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001576/0.7357, allocations: 295.1 kB / 0.5338 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/0.737, allocations: 0.8625 MB / 0.5346 GB, free: 7.688 MB / 414.1 MB Notification: Performance of SimCode: time 3.416e-06/0.737, allocations: 0 / 0.5346 GB, free: 7.688 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09108/0.8281, allocations: 44.85 MB / 0.5784 GB, free: 10.89 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.8283, allocations: 241.5 kB / 0.5786 GB, free: 10.63 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.166/3.994, allocations: 0 / 0.5786 GB, free: 10.63 MB / 462.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)