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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 220 kB / 23.03 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 207.7 MB / 233.9 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06899/0.06899, allocations: 14.39 MB / 300.5 MB, free: 7.254 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_IslandOperation_PowerFlow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 67.89 kB / 424.5 MB, free: 35.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1196, allocations: 52.9 MB / 477.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01883/0.1384, allocations: 16.15 MB / 493.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01651/0.1549, allocations: 7.094 MB / 0.4889 GB, free: 7.648 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005395/0.1603, allocations: 59.69 kB / 0.489 GB, free: 7.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004355/0.1647, allocations: 0.9474 MB / 0.4899 GB, free: 6.637 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01268/0.1774, allocations: 3.347 MB / 0.4932 GB, free: 3.309 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.1801, allocations: 0.7586 MB / 0.4939 GB, free: 2.555 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01095/0.1911, allocations: 5.712 MB / 0.4995 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008849/0.1919, allocations: 218.9 kB / 0.4997 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005743/0.1977, allocations: 1.977 MB / 0.5016 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006717/0.2044, allocations: 2.016 MB / 0.5036 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001361/0.2058, allocations: 204 kB / 0.5038 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005657/0.2114, allocations: 0.7184 MB / 0.5045 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001745/0.2132, allocations: 0.4899 MB / 0.505 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006063/0.2192, allocations: 1.396 MB / 0.5063 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01489/0.2341, allocations: 4.247 MB / 0.5105 GB, free: 1.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.2341, allocations: 0 / 0.5105 GB, free: 1.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2341, allocations: 0 / 0.5105 GB, free: 1.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001786/0.2343, allocations: 0 / 0.5105 GB, free: 1.508 MB / 382.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.0296/0.2639, allocations: 4.465 MB / 0.5148 GB, free: 12.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.082e-05/0.264, allocations: 12.03 kB / 0.5149 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001192/0.2641, allocations: 60.58 kB / 0.5149 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005891/0.2647, allocations: 304.4 kB / 0.5152 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003754/0.2684, allocations: 474.8 kB / 0.5157 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008503/0.2769, allocations: 1.705 MB / 0.5173 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002365/0.2772, allocations: 172.3 kB / 0.5175 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004602/0.2776, allocations: 215.9 kB / 0.5177 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006102/0.2837, allocations: 2.145 MB / 0.5198 GB, free: 7.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.954e-05/0.2838, allocations: 3.938 kB / 0.5198 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003617/0.2842, allocations: 92 kB / 0.5199 GB, free: 7.656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.539e-05/0.2842, allocations: 52 kB / 0.5199 GB, free: 7.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005783/0.29, allocations: 2.168 MB / 0.522 GB, free: 5.422 MB / 398.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.3531/0.6431, allocations: 7.917 MB / 0.5298 GB, free: 56.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004081/0.6471, allocations: 2.046 MB / 0.5318 GB, free: 56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/0.6484, allocations: 0.701 MB / 0.5325 GB, free: 55.81 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.6485, allocations: 27.47 kB / 0.5325 GB, free: 55.8 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.6485, allocations: 52.97 kB / 0.5325 GB, free: 55.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=217): time 4.258e-06/0.6485, allocations: 0 / 0.5325 GB, free: 55.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=217): time 0.0103/0.6588, allocations: 3.263 MB / 0.5357 GB, free: 54.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.6589, allocations: 79.22 kB / 0.5358 GB, free: 54.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004365/0.6633, allocations: 1.693 MB / 0.5375 GB, free: 54.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.6634, allocations: 60.39 kB / 0.5375 GB, free: 53.99 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008212/0.6643, allocations: 1.095 MB / 0.5386 GB, free: 53.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008322/0.6651, allocations: 0.7847 MB / 0.5394 GB, free: 52.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000748/0.6658, allocations: 431.1 kB / 0.5398 GB, free: 52.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.111e-05/0.6659, allocations: 306.9 kB / 0.5401 GB, free: 52.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.6673, allocations: 0.6569 MB / 0.5407 GB, free: 52.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.6689, allocations: 1.216 MB / 0.5419 GB, free: 51.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002695/0.6715, allocations: 2.023 MB / 0.5439 GB, free: 49.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.617e-05/0.6716, allocations: 4.344 kB / 0.5439 GB, free: 49.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005443/0.677, allocations: 2.686 MB / 0.5465 GB, free: 48.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.677, allocations: 14 kB / 0.5465 GB, free: 48.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-05/0.6771, allocations: 15.28 kB / 0.5465 GB, free: 48.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001862/0.6789, allocations: 0.5612 MB / 0.5471 GB, free: 48.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002077/0.681, allocations: 0.5736 MB / 0.5476 GB, free: 48.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00788/0.6889, allocations: 7.407 MB / 0.5549 GB, free: 42.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003362/0.6923, allocations: 190.1 kB / 0.555 GB, free: 42.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/0.6924, allocations: 104.3 kB / 0.5551 GB, free: 42.52 MB / 398.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 (283): * Single equations (assignments): 280 * 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,28), (2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001078/0.6935, allocations: 472 kB / 0.5556 GB, free: 42.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006706/0.6942, allocations: 249.5 kB / 0.5558 GB, free: 41.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003603/0.6978, allocations: 2.15 MB / 0.5579 GB, free: 40.1 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.6978, allocations: 23.94 kB / 0.5579 GB, free: 40.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6978, allocations: 0.875 kB / 0.5579 GB, free: 40.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.6978, allocations: 10.64 kB / 0.558 GB, free: 40.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007676/0.7055, allocations: 4.3 MB / 0.5622 GB, free: 36.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/0.7055, allocations: 4 kB / 0.5622 GB, free: 36.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/0.7071, allocations: 388 kB / 0.5625 GB, free: 35.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00159/0.7087, allocations: 0.5072 MB / 0.563 GB, free: 35.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.7088, allocations: 43.38 kB / 0.5631 GB, free: 35.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007217/0.716, allocations: 7.271 MB / 0.5702 GB, free: 27.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.716, allocations: 4 kB / 0.5702 GB, free: 27.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004135/0.7201, allocations: 2.314 MB / 0.5724 GB, free: 25.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/0.7214, allocations: 450.9 kB / 0.5729 GB, free: 24.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003247/0.7218, allocations: 40 kB / 0.5729 GB, free: 24.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/0.7234, allocations: 55.95 kB / 0.573 GB, free: 24.63 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002997/0.7237, allocations: 153.6 kB / 0.5731 GB, free: 24.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.49e-05/0.7238, allocations: 59.94 kB / 0.5732 GB, free: 24.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001432/0.7252, allocations: 1.109 MB / 0.5742 GB, free: 23.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7252, allocations: 0 / 0.5742 GB, free: 23.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002782/0.728, allocations: 0.8922 MB / 0.5751 GB, free: 22.41 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 (174): * Single equations (assignments): 171 * 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,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003686/0.7317, allocations: 3.045 MB / 0.5781 GB, free: 19.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003854/0.7355, allocations: 2.29 MB / 0.5803 GB, free: 16.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/0.7356, allocations: 0 / 0.5803 GB, free: 16.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001883/0.7374, allocations: 1.329 MB / 0.5816 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/0.7401, allocations: 326.4 kB / 0.5819 GB, free: 15.28 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02487/0.765, allocations: 16.48 MB / 0.598 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/0.7663, allocations: 0.9222 MB / 0.5989 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001728/0.768, allocations: 305.4 kB / 0.5992 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001695/0.7697, allocations: 0.8781 MB / 0.6001 GB, free: 11.89 MB / 414.1 MB Notification: Performance of SimCode: time 5.199e-06/0.7697, allocations: 96 / 0.6001 GB, free: 11.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1357/0.9054, allocations: 53.18 MB / 0.652 GB, free: 6.703 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.31/19.21, allocations: 8.016 kB / 0.652 GB, free: 6.695 MB / 462.1 MB " [Timeout remaining time 641] (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 --stepSize=0.002 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Examples_Tutorial_IslandOperation_PowerFlow.fmu > PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.388512303936295] Failed to read output from testmodel.py, exit status != 0: 19.427099947002716 19.452940668 19.215116038 Calling exit ...