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.001805/0.001805, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002071/0.002071, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.1907/0.1907, allocations: 38.52 MB / 352.5 MB, free: 12.52 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.002061/0.002061, allocations: 71.88 kB / 492.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3441, allocations: 62.47 MB / 0.542 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.009651/0.3538, allocations: 7.662 MB / 0.5495 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005344/0.3591, allocations: 3.073 MB / 0.5525 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005078/0.3596, allocations: 32.88 kB / 0.5525 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002213/0.3618, allocations: 0.8041 MB / 0.5533 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.3638, allocations: 0.7122 MB / 0.554 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.3649, allocations: 388.8 kB / 0.5544 GB, free: 6.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002015/0.3669, allocations: 1.331 MB / 0.5557 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009403/0.3679, allocations: 0.5636 MB / 0.5562 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.3689, allocations: 0.5688 MB / 0.5568 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.3701, allocations: 0.6725 MB / 0.5574 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.3702, allocations: 74.81 kB / 0.5575 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.3715, allocations: 0.5459 MB / 0.558 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005189/0.372, allocations: 470.8 kB / 0.5585 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006083/0.3726, allocations: 0.5054 MB / 0.559 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001901/0.3745, allocations: 1.44 MB / 0.5604 GB, free: 1.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3745, allocations: 0 / 0.5604 GB, free: 1.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.957e-06/0.3745, allocations: 4 kB / 0.5604 GB, free: 1.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.3745, allocations: 0 / 0.5604 GB, free: 1.605 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.002969/0.3775, allocations: 1.216 MB / 0.5616 GB, free: 360 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.3775, allocations: 11.98 kB / 0.5616 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001832/0.3777, allocations: 147.7 kB / 0.5617 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.3791, allocations: 212.1 kB / 0.5619 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.3807, allocations: 0.6538 MB / 0.5626 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.647e-05/0.3807, allocations: 66.12 kB / 0.5626 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002357/0.381, allocations: 95.94 kB / 0.5627 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.3827, allocations: 1.119 MB / 0.5638 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.3828, allocations: 7.938 kB / 0.5638 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.643e-05/0.3828, allocations: 35.98 kB / 0.5639 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001705/0.383, allocations: 73.89 kB / 0.5639 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.3846, allocations: 0.8938 MB / 0.5648 GB, free: 12.96 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.006698/0.3913, allocations: 3.968 MB / 0.5687 GB, free: 8.789 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006464/0.392, allocations: 320.9 kB / 0.569 GB, free: 8.457 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003901/0.3923, allocations: 249.6 kB / 0.5692 GB, free: 8.207 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.462e-05/0.3924, allocations: 7.984 kB / 0.5692 GB, free: 8.199 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/0.3924, allocations: 46.55 kB / 0.5693 GB, free: 8.145 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.605e-06/0.3924, allocations: 0 / 0.5693 GB, free: 8.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.005387/0.3978, allocations: 1.932 MB / 0.5712 GB, free: 6.188 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.444e-05/0.3979, allocations: 85.55 kB / 0.5712 GB, free: 6.082 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.399, allocations: 0.5616 MB / 0.5718 GB, free: 5.512 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/0.399, allocations: 29.7 kB / 0.5718 GB, free: 5.477 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005609/0.3996, allocations: 495.6 kB / 0.5723 GB, free: 4.984 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.3998, allocations: 190.4 kB / 0.5725 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003268/0.4002, allocations: 150.6 kB / 0.5726 GB, free: 4.641 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002666/0.4004, allocations: 382.7 kB / 0.573 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007331/0.4012, allocations: 273.9 kB / 0.5732 GB, free: 3.992 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009463/0.4021, allocations: 0.4964 MB / 0.5737 GB, free: 3.387 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.004962/0.4071, allocations: 1.414 MB / 0.5751 GB, free: 1.871 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.4071, allocations: 3.938 kB / 0.5751 GB, free: 1.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00308/0.4102, allocations: 1.025 MB / 0.5761 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.4102, allocations: 8 kB / 0.5761 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001896/0.4121, allocations: 0.6756 MB / 0.5768 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008202/0.4129, allocations: 162.5 kB / 0.5769 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.4139, allocations: 171.8 kB / 0.5771 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006886/0.4208, allocations: 4.554 MB / 0.5816 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009916/0.4218, allocations: 43.98 kB / 0.5816 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.4219, allocations: 35.98 kB / 0.5816 GB, free: 10.81 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.0009096/0.4228, allocations: 313.5 kB / 0.5819 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/0.4231, allocations: 75.47 kB / 0.582 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.4249, allocations: 0.6356 MB / 0.5826 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.4249, allocations: 8 kB / 0.5826 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4249, allocations: 0 / 0.5826 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.4249, allocations: 7.984 kB / 0.5826 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004003/0.4289, allocations: 1.49 MB / 0.5841 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.4289, allocations: 0 / 0.5841 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008738/0.4298, allocations: 131.8 kB / 0.5842 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/0.4298, allocations: 7.938 kB / 0.5842 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.813e-05/0.4299, allocations: 15.98 kB / 0.5842 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.187e-06/0.4299, allocations: 4 kB / 0.5842 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/0.4299, allocations: 7.938 kB / 0.5842 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.4318, allocations: 0.951 MB / 0.5852 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/0.4322, allocations: 107.6 kB / 0.5853 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.4324, allocations: 20.06 kB / 0.5853 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/0.4327, allocations: 27.92 kB / 0.5853 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.4328, allocations: 44.3 kB / 0.5854 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.4328, allocations: 19.98 kB / 0.5854 GB, free: 6.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005451/0.4334, allocations: 411 kB / 0.5858 GB, free: 6.438 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4334, allocations: 0 / 0.5858 GB, free: 6.438 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009004/0.4343, allocations: 235.9 kB / 0.586 GB, free: 6.207 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.001983/0.4362, allocations: 1.53 MB / 0.5875 GB, free: 4.629 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001839/0.4381, allocations: 0.9806 MB / 0.5885 GB, free: 3.617 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.4381, allocations: 0 / 0.5885 GB, free: 3.617 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004168/0.4385, allocations: 258.6 kB / 0.5887 GB, free: 3.363 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007924/0.4393, allocations: 144.8 kB / 0.5888 GB, free: 3.227 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.4504, allocations: 7.015 MB / 0.5957 GB, free: 11.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009324/0.4514, allocations: 1.075 MB / 0.5967 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005817/0.4519, allocations: 201.8 kB / 0.5969 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004935/0.4524, allocations: 331.3 kB / 0.5973 GB, free: 10.23 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4524, allocations: 0 / 0.5973 GB, free: 10.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06125/0.5137, allocations: 16.7 MB / 0.6136 GB, free: 9.672 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.4, allocations: 22.67 kB / 0.6136 GB, free: 9.652 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.26458853809163] Failed to read output from testmodel.py, exit status != 0: 13.519739424809813 13.538311337 13.160056968 Calling exit ...