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.001396/0.001396, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.00156/0.00156, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 8 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.1899/0.1899, allocations: 38.54 MB / 353.3 MB, free: 12.54 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="cs",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.001989/0.001989, allocations: 63.89 kB / 493.3 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3234, allocations: 62.47 MB / 0.5428 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.009997/0.3334, allocations: 7.659 MB / 0.5503 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006544/0.34, allocations: 3.072 MB / 0.5533 GB, free: 7.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000585/0.3405, allocations: 37.31 kB / 0.5533 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.3428, allocations: 0.796 MB / 0.5541 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002494/0.3453, allocations: 0.713 MB / 0.5548 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.3465, allocations: 393.5 kB / 0.5551 GB, free: 6.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002018/0.3485, allocations: 1.334 MB / 0.5564 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008574/0.3494, allocations: 0.5663 MB / 0.557 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000988/0.3504, allocations: 0.5655 MB / 0.5575 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.3514, allocations: 0.677 MB / 0.5582 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.3515, allocations: 75.62 kB / 0.5583 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.3526, allocations: 0.5459 MB / 0.5588 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004687/0.353, allocations: 470.8 kB / 0.5593 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005562/0.3536, allocations: 0.5015 MB / 0.5598 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.3554, allocations: 1.444 MB / 0.5612 GB, free: 1.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3554, allocations: 0 / 0.5612 GB, free: 1.641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3554, allocations: 0 / 0.5612 GB, free: 1.641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.3554, allocations: 0 / 0.5612 GB, free: 1.641 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.002258/0.3577, allocations: 1.223 MB / 0.5624 GB, free: 392 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3577, allocations: 15.98 kB / 0.5624 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.786e-05/0.3577, allocations: 22.19 kB / 0.5624 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.3579, allocations: 147.6 kB / 0.5625 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.3593, allocations: 218.6 kB / 0.5627 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.3609, allocations: 0.6475 MB / 0.5634 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.3609, allocations: 58 kB / 0.5634 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/0.3611, allocations: 95.92 kB / 0.5635 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.3629, allocations: 1.119 MB / 0.5646 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.856e-05/0.363, allocations: 8 kB / 0.5646 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-05/0.3631, allocations: 35.98 kB / 0.5647 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001821/0.3633, allocations: 69.95 kB / 0.5647 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.3648, allocations: 0.8899 MB / 0.5656 GB, free: 12.98 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.005755/0.3705, allocations: 3.976 MB / 0.5695 GB, free: 8.805 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006394/0.3712, allocations: 320.9 kB / 0.5698 GB, free: 8.473 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003844/0.3716, allocations: 249.7 kB / 0.57 GB, free: 8.223 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.3716, allocations: 7.984 kB / 0.57 GB, free: 8.215 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.3716, allocations: 46.48 kB / 0.5701 GB, free: 8.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.224e-06/0.3716, allocations: 0 / 0.5701 GB, free: 8.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.004441/0.3761, allocations: 1.92 MB / 0.5719 GB, free: 6.211 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.3761, allocations: 89.48 kB / 0.572 GB, free: 6.102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007295/0.3769, allocations: 0.5655 MB / 0.5726 GB, free: 5.527 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.3769, allocations: 33.7 kB / 0.5726 GB, free: 5.488 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003814/0.3773, allocations: 487.7 kB / 0.5731 GB, free: 5.004 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/0.3775, allocations: 198.5 kB / 0.5733 GB, free: 4.809 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.3777, allocations: 154.6 kB / 0.5734 GB, free: 4.648 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3779, allocations: 374.8 kB / 0.5738 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/0.3783, allocations: 269.8 kB / 0.574 GB, free: 4.012 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006718/0.379, allocations: 0.5003 MB / 0.5745 GB, free: 3.402 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.003351/0.3824, allocations: 1.418 MB / 0.5759 GB, free: 1.883 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3824, allocations: 0 / 0.5759 GB, free: 1.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002068/0.3844, allocations: 1.017 MB / 0.5769 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.3845, allocations: 10.97 kB / 0.5769 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001262/0.3857, allocations: 0.6834 MB / 0.5776 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005526/0.3863, allocations: 158.5 kB / 0.5777 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006592/0.3869, allocations: 179.6 kB / 0.5779 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004643/0.3916, allocations: 4.55 MB / 0.5823 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006471/0.3922, allocations: 43.91 kB / 0.5824 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-05/0.3923, allocations: 35.98 kB / 0.5824 GB, free: 10.83 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.0006095/0.3929, allocations: 317.5 kB / 0.5827 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.3931, allocations: 71.58 kB / 0.5828 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.3944, allocations: 0.6355 MB / 0.5834 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.3944, allocations: 4 kB / 0.5834 GB, free: 9.789 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3944, allocations: 3.938 kB / 0.5834 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.3944, allocations: 3.984 kB / 0.5834 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003134/0.3976, allocations: 1.494 MB / 0.5849 GB, free: 8.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.3976, allocations: 0 / 0.5849 GB, free: 8.219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006338/0.3982, allocations: 124 kB / 0.585 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.3982, allocations: 8 kB / 0.585 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/0.3983, allocations: 19.98 kB / 0.585 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/0.3983, allocations: 7.938 kB / 0.585 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3983, allocations: 4 kB / 0.585 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.3998, allocations: 0.9509 MB / 0.586 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/0.4002, allocations: 107.5 kB / 0.5861 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.4003, allocations: 27.92 kB / 0.5861 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.4007, allocations: 19.98 kB / 0.5861 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.852e-05/0.4008, allocations: 40.31 kB / 0.5862 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.4008, allocations: 16 kB / 0.5862 GB, free: 6.863 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006214/0.4015, allocations: 411 kB / 0.5866 GB, free: 6.465 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4015, allocations: 0 / 0.5866 GB, free: 6.465 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009113/0.4024, allocations: 239.9 kB / 0.5868 GB, free: 6.23 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.001918/0.4043, allocations: 1.533 MB / 0.5883 GB, free: 4.652 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.406, allocations: 0.9841 MB / 0.5892 GB, free: 3.637 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.406, allocations: 0 / 0.5892 GB, free: 3.637 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000421/0.4064, allocations: 254.2 kB / 0.5895 GB, free: 3.387 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008586/0.4073, allocations: 159.8 kB / 0.5896 GB, free: 3.227 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.4177, allocations: 7.01 MB / 0.5965 GB, free: 11.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008486/0.4185, allocations: 1.078 MB / 0.5975 GB, free: 10.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005426/0.4191, allocations: 197.8 kB / 0.5977 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004655/0.4195, allocations: 331.3 kB / 0.598 GB, free: 10.24 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4195, allocations: 0 / 0.598 GB, free: 10.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04913/0.4687, allocations: 16.74 MB / 0.6144 GB, free: 9.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.44, allocations: 4.062 kB / 0.6144 GB, free: 9.676 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.324877561011817] Failed to read output from testmodel.py, exit status != 0: 13.626892423024401 13.645488488 13.286568581 Calling exit ...