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.001283/0.001283, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001606/0.001606, allocations: 212.2 kB / 23.73 MB, free: 4.16 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1848/0.1848, allocations: 38.54 MB / 352.5 MB, free: 12.29 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.002167/0.002167, allocations: 71.88 kB / 492.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3012, allocations: 62.46 MB / 0.5419 GB, free: 220 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.009109/0.3103, allocations: 7.097 MB / 0.5489 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004936/0.3153, allocations: 2.827 MB / 0.5516 GB, free: 8.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003663/0.3156, allocations: 36.47 kB / 0.5517 GB, free: 8.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002071/0.3177, allocations: 0.7549 MB / 0.5524 GB, free: 8.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.3194, allocations: 0.7102 MB / 0.5531 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009586/0.3203, allocations: 385.7 kB / 0.5535 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001556/0.3219, allocations: 1.329 MB / 0.5548 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007797/0.3226, allocations: 0.555 MB / 0.5553 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007887/0.3234, allocations: 0.5728 MB / 0.5559 GB, free: 5.773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009479/0.3244, allocations: 0.6426 MB / 0.5565 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.3245, allocations: 76 kB / 0.5566 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009316/0.3254, allocations: 0.4952 MB / 0.5571 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004614/0.3259, allocations: 470.7 kB / 0.5575 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005523/0.3265, allocations: 426.1 kB / 0.5579 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.3281, allocations: 1.44 MB / 0.5593 GB, free: 2.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3281, allocations: 4 kB / 0.5593 GB, free: 2.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.137e-06/0.3281, allocations: 3.938 kB / 0.5593 GB, free: 2.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.3281, allocations: 0 / 0.5593 GB, free: 2.383 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.002172/0.3303, allocations: 1.226 MB / 0.5605 GB, free: 1.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3303, allocations: 11.98 kB / 0.5605 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/0.3305, allocations: 143.7 kB / 0.5607 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.3318, allocations: 212.1 kB / 0.5609 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.3333, allocations: 0.646 MB / 0.5615 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.407e-05/0.3334, allocations: 70.09 kB / 0.5616 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/0.3336, allocations: 95.98 kB / 0.5617 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.3353, allocations: 1.115 MB / 0.5627 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.3353, allocations: 3.938 kB / 0.5628 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.317e-05/0.3354, allocations: 32 kB / 0.5628 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001791/0.3356, allocations: 73.95 kB / 0.5629 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.337, allocations: 0.8782 MB / 0.5637 GB, free: 13.77 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.005459/0.3425, allocations: 3.697 MB / 0.5673 GB, free: 9.891 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006164/0.3431, allocations: 314.4 kB / 0.5676 GB, free: 9.566 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003939/0.3435, allocations: 261.6 kB / 0.5679 GB, free: 9.305 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.3436, allocations: 4 kB / 0.5679 GB, free: 9.301 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.3436, allocations: 38.56 kB / 0.5679 GB, free: 9.254 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.074e-06/0.3436, allocations: 0 / 0.5679 GB, free: 9.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.004155/0.3477, allocations: 1.932 MB / 0.5698 GB, free: 7.297 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.3478, allocations: 89.48 kB / 0.5699 GB, free: 7.188 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006869/0.3485, allocations: 0.577 MB / 0.5704 GB, free: 6.602 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.608e-05/0.3485, allocations: 37.7 kB / 0.5705 GB, free: 6.559 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/0.3489, allocations: 483.7 kB / 0.5709 GB, free: 6.078 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.3491, allocations: 202.3 kB / 0.5711 GB, free: 5.879 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.3493, allocations: 142.6 kB / 0.5713 GB, free: 5.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.3495, allocations: 390.8 kB / 0.5716 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004375/0.3499, allocations: 269.8 kB / 0.5719 GB, free: 5.078 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/0.3505, allocations: 0.5042 MB / 0.5724 GB, free: 4.469 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.003149/0.3537, allocations: 1.406 MB / 0.5738 GB, free: 2.961 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3537, allocations: 0 / 0.5738 GB, free: 2.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001909/0.3556, allocations: 1.022 MB / 0.5748 GB, free: 1.918 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3556, allocations: 8 kB / 0.5748 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001262/0.3569, allocations: 0.6752 MB / 0.5754 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005239/0.3574, allocations: 162.4 kB / 0.5756 GB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/0.358, allocations: 183.8 kB / 0.5758 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004364/0.3624, allocations: 4.53 MB / 0.5802 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.3628, allocations: 39.91 kB / 0.5802 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/0.3629, allocations: 32 kB / 0.5803 GB, free: 11.93 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.0004551/0.3634, allocations: 313.6 kB / 0.5806 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.3635, allocations: 75.47 kB / 0.5806 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.3646, allocations: 0.6512 MB / 0.5813 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.3646, allocations: 8 kB / 0.5813 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.3646, allocations: 0 / 0.5813 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3646, allocations: 0 / 0.5813 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.3672, allocations: 1.432 MB / 0.5827 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.3672, allocations: 0 / 0.5827 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006232/0.3678, allocations: 127.8 kB / 0.5828 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.3678, allocations: 4 kB / 0.5828 GB, free: 9.246 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.605e-05/0.3679, allocations: 19.98 kB / 0.5828 GB, free: 9.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.3679, allocations: 4 kB / 0.5828 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3679, allocations: 3.938 kB / 0.5828 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.3692, allocations: 0.951 MB / 0.5838 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.3695, allocations: 107.6 kB / 0.5839 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.32e-05/0.3696, allocations: 23.89 kB / 0.5839 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.3699, allocations: 19.98 kB / 0.5839 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.37, allocations: 36.31 kB / 0.5839 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.37, allocations: 19.98 kB / 0.5839 GB, free: 8.027 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004833/0.3705, allocations: 411 kB / 0.5843 GB, free: 7.625 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3705, allocations: 0 / 0.5843 GB, free: 7.625 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007494/0.3712, allocations: 231.9 kB / 0.5846 GB, free: 7.398 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.001805/0.373, allocations: 1.541 MB / 0.5861 GB, free: 5.809 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.3747, allocations: 0.9832 MB / 0.587 GB, free: 4.793 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.3747, allocations: 0 / 0.587 GB, free: 4.793 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004035/0.3751, allocations: 251.8 kB / 0.5873 GB, free: 4.547 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007636/0.3759, allocations: 152.6 kB / 0.5874 GB, free: 4.406 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009983/0.3858, allocations: 7.015 MB / 0.5943 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005892/0.3864, allocations: 494.5 kB / 0.5947 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005355/0.387, allocations: 197.8 kB / 0.5949 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004777/0.3874, allocations: 327.2 kB / 0.5952 GB, free: 12.01 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3874, allocations: 0 / 0.5952 GB, free: 12.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05764/0.4451, allocations: 17.07 MB / 0.6119 GB, free: 11.15 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.43, allocations: 0 / 0.6119 GB, free: 11.15 MB / 462.1 MB " [Timeout remaining time 647] (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: 15.238526209723204] Failed to read output from testmodel.py, exit status != 0: 12.552649705670774 12.578771043 12.245112174 Calling exit ...