Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.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.001312/0.001312, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001452/0.001452, allocations: 214.1 kB / 24.52 MB, free: 3.941 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.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.1868/0.1868, allocations: 38.55 MB / 353.2 MB, free: 12.42 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.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG",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.002464/0.002464, allocations: 63.91 kB / 493.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3604, allocations: 62.47 MB / 0.5427 GB, free: 276 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01038/0.3708, allocations: 7.654 MB / 0.5502 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009226/0.38, allocations: 5.035 MB / 0.5551 GB, free: 6.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006837/0.3807, allocations: 41.53 kB / 0.5551 GB, free: 6.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01236/0.3931, allocations: 5.81 MB / 0.5608 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002399/0.3955, allocations: 0.8558 MB / 0.5616 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.3969, allocations: 0.5068 MB / 0.5621 GB, free: 364 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004004/0.4009, allocations: 2.624 MB / 0.5647 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008732/0.4017, allocations: 0.5555 MB / 0.5652 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.4029, allocations: 0.7979 MB / 0.566 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.4046, allocations: 1.118 MB / 0.5671 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000226/0.4048, allocations: 104 kB / 0.5672 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008583/0.4057, allocations: 399.5 kB / 0.5676 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007092/0.4064, allocations: 0.6701 MB / 0.5682 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007203/0.4071, allocations: 0.5717 MB / 0.5688 GB, free: 9.492 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002285/0.4094, allocations: 1.747 MB / 0.5705 GB, free: 7.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.4094, allocations: 8 kB / 0.5705 GB, free: 7.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.4094, allocations: 0 / 0.5705 GB, free: 7.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.375e-05/0.4095, allocations: 3.938 kB / 0.5705 GB, free: 7.727 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003588/0.413, allocations: 1.551 MB / 0.572 GB, free: 6.141 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.4131, allocations: 15.98 kB / 0.572 GB, free: 6.125 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.931e-05/0.4131, allocations: 34.17 kB / 0.5721 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002252/0.4134, allocations: 161.2 kB / 0.5722 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.4149, allocations: 275.8 kB / 0.5725 GB, free: 5.652 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002149/0.417, allocations: 0.8733 MB / 0.5734 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.565e-05/0.4171, allocations: 77.97 kB / 0.5734 GB, free: 4.672 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005113/0.4176, allocations: 183.8 kB / 0.5736 GB, free: 4.492 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002707/0.4203, allocations: 1.564 MB / 0.5751 GB, free: 2.848 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.681e-05/0.4204, allocations: 11.94 kB / 0.5751 GB, free: 2.836 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.4205, allocations: 35.98 kB / 0.5752 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006035/0.4211, allocations: 157.8 kB / 0.5753 GB, free: 2.645 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002278/0.4234, allocations: 1.245 MB / 0.5765 GB, free: 1.391 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.009343/0.4327, allocations: 5.644 MB / 0.5821 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.4344, allocations: 0.8691 MB / 0.5829 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008127/0.4352, allocations: 496.5 kB / 0.5834 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-05/0.4353, allocations: 13 kB / 0.5834 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.4353, allocations: 39.56 kB / 0.5834 GB, free: 10.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 3.817e-06/0.4353, allocations: 3.938 kB / 0.5834 GB, free: 10.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.006879/0.4422, allocations: 3.258 MB / 0.5866 GB, free: 6.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/0.4423, allocations: 90.11 kB / 0.5867 GB, free: 6.664 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.4433, allocations: 0.7274 MB / 0.5874 GB, free: 5.922 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.81e-05/0.4434, allocations: 41.7 kB / 0.5874 GB, free: 5.875 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004599/0.4438, allocations: 0.5667 MB / 0.588 GB, free: 5.301 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003655/0.4442, allocations: 384.8 kB / 0.5884 GB, free: 4.922 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003932/0.4446, allocations: 230.9 kB / 0.5886 GB, free: 4.691 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002601/0.4448, allocations: 418.7 kB / 0.589 GB, free: 4.273 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000959/0.4458, allocations: 0.5647 MB / 0.5895 GB, free: 3.707 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.447, allocations: 0.8971 MB / 0.5904 GB, free: 2.68 MB / 430.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.009116/0.4561, allocations: 3.228 MB / 0.5936 GB, free: 15.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/0.4562, allocations: 0 / 0.5936 GB, free: 15.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006365/0.4625, allocations: 2.698 MB / 0.5962 GB, free: 12.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.4626, allocations: 12.09 kB / 0.5962 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/0.4626, allocations: 11.98 kB / 0.5962 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003154/0.4657, allocations: 1.138 MB / 0.5973 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009249/0.4667, allocations: 199.6 kB / 0.5975 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/0.4859, allocations: 11.91 MB / 0.6092 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009147/0.4869, allocations: 59.89 kB / 0.6092 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.487, allocations: 51.98 kB / 0.6093 GB, free: 14.98 MB / 462.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.inertia.w = 0.0 infBus.V = 15000.0 * infBus.v0 line.omega[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0006754/0.4877, allocations: 393.4 kB / 0.6096 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.4878, allocations: 103.4 kB / 0.6097 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/0.4902, allocations: 1.265 MB / 0.611 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.4902, allocations: 8 kB / 0.611 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4902, allocations: 4 kB / 0.611 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.4902, allocations: 3.984 kB / 0.611 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004565/0.4948, allocations: 2.384 MB / 0.6133 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.4948, allocations: 7.938 kB / 0.6133 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/0.4964, allocations: 275.9 kB / 0.6136 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001789/0.4966, allocations: 53.67 kB / 0.6136 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.202e-05/0.4967, allocations: 39.98 kB / 0.6137 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/0.4989, allocations: 2.624 MB / 0.6162 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4989, allocations: 4 kB / 0.6162 GB, free: 7.496 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/0.5017, allocations: 1.747 MB / 0.618 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004346/0.5022, allocations: 183.2 kB / 0.6181 GB, free: 5.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.5023, allocations: 35.98 kB / 0.6182 GB, free: 5.484 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005611/0.5029, allocations: 43.95 kB / 0.6182 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.5031, allocations: 68.81 kB / 0.6183 GB, free: 5.375 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-05/0.5031, allocations: 27.98 kB / 0.6183 GB, free: 5.348 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000659/0.5038, allocations: 499 kB / 0.6188 GB, free: 4.867 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5038, allocations: 4 kB / 0.6188 GB, free: 4.863 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001266/0.5051, allocations: 376 kB / 0.6191 GB, free: 4.496 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3],inertia.phi,inertia.w) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003206/0.5083, allocations: 2.336 MB / 0.6214 GB, free: 2.098 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004013/0.5123, allocations: 2.042 MB / 0.6234 GB, free: 36 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5123, allocations: 0 / 0.6234 GB, free: 36 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.5135, allocations: 0.7226 MB / 0.6241 GB, free: 15.29 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.5146, allocations: 228.6 kB / 0.6243 GB, free: 15.07 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02445/0.5391, allocations: 13.93 MB / 0.6379 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009079/0.54, allocations: 0.7094 MB / 0.6386 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009051/0.5409, allocations: 316 kB / 0.6389 GB, free: 15.63 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007095/0.5416, allocations: 467.2 kB / 0.6394 GB, free: 15.18 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5416, allocations: 0 / 0.6394 GB, free: 15.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07532/0.6169, allocations: 30.79 MB / 0.6694 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/16.17, allocations: 4 kB / 0.6695 GB, free: 0.7305 MB / 0.4981 GB " [Timeout remaining time 644] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.108481621020474] Failed to read output from testmodel.py, exit status != 0: 16.374958134023473 16.404800271 15.989508073 Calling exit ...