Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.001346/0.001346, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001447/0.001447, allocations: 214.7 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1878/0.1878, allocations: 38.53 MB / 352.4 MB, free: 12.55 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 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.002007/0.002007, allocations: 63.89 kB / 492.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3169, allocations: 62.46 MB / 0.542 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.009793/0.3267, allocations: 7.664 MB / 0.5495 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006932/0.3336, allocations: 3.07 MB / 0.5525 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009463/0.3345, allocations: 32.25 kB / 0.5525 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002684/0.3372, allocations: 0.8074 MB / 0.5533 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002827/0.34, allocations: 0.7176 MB / 0.554 GB, free: 6.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.3413, allocations: 384.3 kB / 0.5544 GB, free: 6.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002674/0.344, allocations: 1.334 MB / 0.5557 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.3452, allocations: 0.5588 MB / 0.5562 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.3467, allocations: 0.5693 MB / 0.5568 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.3484, allocations: 0.6738 MB / 0.5574 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.3486, allocations: 75.19 kB / 0.5575 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/0.35, allocations: 0.542 MB / 0.558 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005429/0.3505, allocations: 478.7 kB / 0.5585 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007367/0.3513, allocations: 0.4937 MB / 0.559 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.3532, allocations: 1.448 MB / 0.5604 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3532, allocations: 0 / 0.5604 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3532, allocations: 0 / 0.5604 GB, free: 1.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.3532, allocations: 0 / 0.5604 GB, free: 1.625 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002354/0.3556, allocations: 1.224 MB / 0.5616 GB, free: 372 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.3556, allocations: 19.97 kB / 0.5616 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000174/0.3558, allocations: 131.7 kB / 0.5617 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.3571, allocations: 216.2 kB / 0.5619 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.3586, allocations: 0.6498 MB / 0.5626 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.444e-05/0.3587, allocations: 66.11 kB / 0.5626 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002469/0.3589, allocations: 99.94 kB / 0.5627 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.3607, allocations: 1.115 MB / 0.5638 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/0.3608, allocations: 11.88 kB / 0.5638 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-05/0.3608, allocations: 36 kB / 0.5639 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001689/0.361, allocations: 69.95 kB / 0.5639 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.3625, allocations: 0.886 MB / 0.5648 GB, free: 12.99 MB / 414.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.005932/0.3684, allocations: 3.98 MB / 0.5687 GB, free: 8.805 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006219/0.3691, allocations: 316.9 kB / 0.569 GB, free: 8.477 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003867/0.3694, allocations: 259.6 kB / 0.5692 GB, free: 8.219 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.3695, allocations: 4 kB / 0.5692 GB, free: 8.215 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.3695, allocations: 42.56 kB / 0.5693 GB, free: 8.164 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.054e-06/0.3695, allocations: 0 / 0.5693 GB, free: 8.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.004349/0.3739, allocations: 1.932 MB / 0.5712 GB, free: 6.203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.3739, allocations: 81.55 kB / 0.5712 GB, free: 6.102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007706/0.3747, allocations: 0.5694 MB / 0.5718 GB, free: 5.523 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.3748, allocations: 29.7 kB / 0.5718 GB, free: 5.488 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003769/0.3751, allocations: 491.6 kB / 0.5723 GB, free: 5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.3753, allocations: 194.4 kB / 0.5725 GB, free: 4.809 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.3755, allocations: 154.6 kB / 0.5726 GB, free: 4.648 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.3757, allocations: 378.7 kB / 0.573 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004875/0.3762, allocations: 269.8 kB / 0.5732 GB, free: 4.008 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006561/0.3769, allocations: 0.5042 MB / 0.5737 GB, free: 3.395 MB / 414.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.003252/0.3801, allocations: 1.402 MB / 0.5751 GB, free: 1.891 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3801, allocations: 0 / 0.5751 GB, free: 1.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002041/0.3822, allocations: 1.025 MB / 0.5761 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.3822, allocations: 10.97 kB / 0.5761 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001318/0.3835, allocations: 0.6833 MB / 0.5768 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005522/0.3841, allocations: 162.4 kB / 0.5769 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.3847, allocations: 171.8 kB / 0.5771 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004668/0.3894, allocations: 4.558 MB / 0.5816 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006037/0.39, allocations: 43.91 kB / 0.5816 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/0.39, allocations: 28 kB / 0.5816 GB, free: 10.84 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: generator.w_el = generator.omega[1] + generator.omega[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * 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): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005786/0.3906, allocations: 317.5 kB / 0.5819 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.3908, allocations: 79.53 kB / 0.582 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.392, allocations: 0.6356 MB / 0.5826 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.392, allocations: 11.92 kB / 0.5826 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.392, allocations: 0 / 0.5826 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.392, allocations: 0 / 0.5826 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002681/0.3946, allocations: 1.494 MB / 0.5841 GB, free: 8.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.3947, allocations: 0 / 0.5841 GB, free: 8.219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006235/0.3953, allocations: 123.8 kB / 0.5842 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.3953, allocations: 4 kB / 0.5842 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.442e-05/0.3953, allocations: 24.17 kB / 0.5842 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.3953, allocations: 4 kB / 0.5842 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3953, allocations: 3.938 kB / 0.5842 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.3968, allocations: 0.9509 MB / 0.5852 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/0.3971, allocations: 107.6 kB / 0.5853 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.306e-05/0.3972, allocations: 19.95 kB / 0.5853 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.3975, allocations: 19.98 kB / 0.5853 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.3975, allocations: 44.19 kB / 0.5854 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.3976, allocations: 20.03 kB / 0.5854 GB, free: 6.867 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005113/0.3981, allocations: 415 kB / 0.5858 GB, free: 6.461 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3981, allocations: 0 / 0.5858 GB, free: 6.461 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001078/0.3992, allocations: 231.9 kB / 0.586 GB, free: 6.234 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001946/0.4011, allocations: 1.537 MB / 0.5875 GB, free: 4.652 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001751/0.4029, allocations: 0.9885 MB / 0.5885 GB, free: 3.633 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4029, allocations: 0 / 0.5885 GB, free: 3.633 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.4033, allocations: 254.2 kB / 0.5887 GB, free: 3.383 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007841/0.404, allocations: 147 kB / 0.5888 GB, free: 3.242 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.4144, allocations: 7.001 MB / 0.5957 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008262/0.4153, allocations: 1.078 MB / 0.5967 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005277/0.4158, allocations: 205.8 kB / 0.5969 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004567/0.4163, allocations: 323.3 kB / 0.5972 GB, free: 10.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4163, allocations: 0 / 0.5972 GB, free: 10.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05695/0.4732, allocations: 16.72 MB / 0.6136 GB, free: 9.691 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.74, allocations: 2.719 kB / 0.6136 GB, free: 9.691 MB / 462.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.596331154003565] Failed to read output from testmodel.py, exit status != 0: 13.860544859002403 13.876041837 13.51955095 Calling exit ...