Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.002106/0.002106, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002645/0.002645, allocations: 216.8 kB / 24.52 MB, free: 3.91 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.545/1.545, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1884/0.1884, allocations: 38.54 MB / 353.2 MB, free: 12.45 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_latest_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.002109/0.002109, allocations: 67.91 kB / 493.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3334, allocations: 62.47 MB / 0.5427 GB, free: 280 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.0107/0.3441, allocations: 7.091 MB / 0.5496 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005828/0.3499, allocations: 2.813 MB / 0.5524 GB, free: 8.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000652/0.3505, allocations: 37.19 kB / 0.5524 GB, free: 8.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.353, allocations: 0.751 MB / 0.5532 GB, free: 8.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002207/0.3552, allocations: 0.71 MB / 0.5538 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.3564, allocations: 392 kB / 0.5542 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002127/0.3585, allocations: 1.325 MB / 0.5555 GB, free: 6.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.3596, allocations: 0.567 MB / 0.5561 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.3607, allocations: 0.5771 MB / 0.5566 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.3621, allocations: 0.6793 MB / 0.5573 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002238/0.3623, allocations: 72 kB / 0.5574 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.3636, allocations: 0.5068 MB / 0.5579 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006498/0.3643, allocations: 470.8 kB / 0.5583 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000792/0.3651, allocations: 422.1 kB / 0.5587 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002229/0.3673, allocations: 1.444 MB / 0.5601 GB, free: 2.445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3673, allocations: 0 / 0.5601 GB, free: 2.445 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3673, allocations: 4 kB / 0.5601 GB, free: 2.441 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.853e-05/0.3673, allocations: 0 / 0.5601 GB, free: 2.441 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.002708/0.3701, allocations: 1.226 MB / 0.5613 GB, free: 1.184 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3701, allocations: 15.98 kB / 0.5613 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.197e-05/0.3701, allocations: 22.19 kB / 0.5614 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001922/0.3703, allocations: 139.7 kB / 0.5615 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.3718, allocations: 216.1 kB / 0.5617 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.3736, allocations: 0.6421 MB / 0.5623 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/0.3736, allocations: 69.91 kB / 0.5624 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003376/0.374, allocations: 96.03 kB / 0.5625 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.3761, allocations: 1.115 MB / 0.5636 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.656e-05/0.3762, allocations: 11.88 kB / 0.5636 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-05/0.3763, allocations: 32 kB / 0.5636 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002137/0.3765, allocations: 73.95 kB / 0.5637 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.3782, allocations: 0.8821 MB / 0.5645 GB, free: 13.8 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.006659/0.3848, allocations: 3.689 MB / 0.5681 GB, free: 9.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007291/0.3856, allocations: 320.9 kB / 0.5685 GB, free: 9.598 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004225/0.386, allocations: 253.6 kB / 0.5687 GB, free: 9.344 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.386, allocations: 8 kB / 0.5687 GB, free: 9.336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.3861, allocations: 34.56 kB / 0.5687 GB, free: 9.293 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 3.837e-06/0.3861, allocations: 3.938 kB / 0.5687 GB, free: 9.289 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.004719/0.3908, allocations: 1.932 MB / 0.5706 GB, free: 7.328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.169e-05/0.3909, allocations: 81.55 kB / 0.5707 GB, free: 7.227 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007721/0.3916, allocations: 0.5655 MB / 0.5713 GB, free: 6.652 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.293e-05/0.3917, allocations: 37.7 kB / 0.5713 GB, free: 6.609 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004282/0.3921, allocations: 487.7 kB / 0.5718 GB, free: 6.125 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.3923, allocations: 194.4 kB / 0.5719 GB, free: 5.934 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.3926, allocations: 142.6 kB / 0.5721 GB, free: 5.785 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.3928, allocations: 390.8 kB / 0.5725 GB, free: 5.395 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/0.3932, allocations: 269.8 kB / 0.5727 GB, free: 5.133 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006418/0.3939, allocations: 0.5042 MB / 0.5732 GB, free: 4.52 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.003433/0.3973, allocations: 1.414 MB / 0.5746 GB, free: 3.004 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3973, allocations: 0 / 0.5746 GB, free: 3.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002153/0.3995, allocations: 1.025 MB / 0.5756 GB, free: 1.957 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.3995, allocations: 8 kB / 0.5756 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001326/0.4008, allocations: 0.6714 MB / 0.5762 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005568/0.4014, allocations: 166.4 kB / 0.5764 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000679/0.402, allocations: 179.9 kB / 0.5766 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004543/0.4066, allocations: 4.519 MB / 0.581 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006238/0.4072, allocations: 48.09 kB / 0.581 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.306e-05/0.4073, allocations: 32 kB / 0.5811 GB, free: 11.98 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.0005631/0.4078, allocations: 323.2 kB / 0.5814 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.408, allocations: 71.5 kB / 0.5814 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.4092, allocations: 0.6395 MB / 0.5821 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.4092, allocations: 8 kB / 0.5821 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.4092, allocations: 3.938 kB / 0.5821 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4092, allocations: 0 / 0.5821 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00272/0.4119, allocations: 1.435 MB / 0.5835 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4119, allocations: 3.938 kB / 0.5835 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006925/0.4126, allocations: 127.8 kB / 0.5836 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.4126, allocations: 4 kB / 0.5836 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.237e-05/0.4126, allocations: 19.98 kB / 0.5836 GB, free: 9.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.493e-06/0.4127, allocations: 4 kB / 0.5836 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4127, allocations: 3.938 kB / 0.5836 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.4141, allocations: 0.951 MB / 0.5846 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/0.4144, allocations: 111.5 kB / 0.5847 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.4145, allocations: 16 kB / 0.5847 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.4148, allocations: 19.98 kB / 0.5847 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.4149, allocations: 40.25 kB / 0.5847 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-05/0.415, allocations: 19.98 kB / 0.5848 GB, free: 8.066 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005281/0.4155, allocations: 411 kB / 0.5852 GB, free: 7.668 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4155, allocations: 0 / 0.5852 GB, free: 7.668 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009365/0.4164, allocations: 231.9 kB / 0.5854 GB, free: 7.441 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.001955/0.4184, allocations: 1.534 MB / 0.5869 GB, free: 5.859 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.4202, allocations: 0.9832 MB / 0.5878 GB, free: 4.844 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.4202, allocations: 0 / 0.5878 GB, free: 4.844 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004811/0.4207, allocations: 255.7 kB / 0.5881 GB, free: 4.594 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009659/0.4216, allocations: 161.4 kB / 0.5882 GB, free: 4.441 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.433, allocations: 7.013 MB / 0.5951 GB, free: 13.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006601/0.4337, allocations: 490.5 kB / 0.5955 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006393/0.4343, allocations: 201.8 kB / 0.5957 GB, free: 12.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005504/0.4349, allocations: 327.3 kB / 0.5961 GB, free: 12.05 MB / 446.1 MB Notification: Performance of SimCode: time 1.613e-06/0.4349, allocations: 0 / 0.5961 GB, free: 12.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07576/0.5107, allocations: 16.96 MB / 0.6126 GB, free: 11.35 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.73, allocations: 8 kB / 0.6126 GB, free: 11.34 MB / 462.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PowerAngle_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PowerAngle.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.777874663006514] Failed to read output from testmodel.py, exit status != 0: 13.908744054962881 13.924309689 13.553759173 Calling exit ...