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.001687/0.001687, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.002151/0.002151, allocations: 218.9 kB / 21.46 MB, free: 1.586 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.482/1.482, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.1922/0.1922, allocations: 38.51 MB / 349.4 MB, free: 2.586 MB / 270.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.002026/0.002026, allocations: 67.91 kB / 487.8 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1196, allocations: 62.41 MB / 0.5373 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01084/0.1305, allocations: 8.199 MB / 0.5454 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.1414, allocations: 5.549 MB / 0.5508 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00086/0.1423, allocations: 39.69 kB / 0.5508 GB, free: 9.711 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01198/0.1543, allocations: 5.27 MB / 0.556 GB, free: 4.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002721/0.157, allocations: 0.8481 MB / 0.5568 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.1586, allocations: 0.4912 MB / 0.5573 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004507/0.1632, allocations: 2.53 MB / 0.5597 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.1642, allocations: 0.5089 MB / 0.5602 GB, free: 20 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001946/0.1662, allocations: 0.7862 MB / 0.561 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002273/0.1684, allocations: 1.114 MB / 0.5621 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002384/0.1687, allocations: 104 kB / 0.5622 GB, free: 14.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.1697, allocations: 403.5 kB / 0.5626 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008079/0.1705, allocations: 0.6662 MB / 0.5632 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007959/0.1713, allocations: 0.6958 MB / 0.5639 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002289/0.1736, allocations: 1.736 MB / 0.5656 GB, free: 10.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.1736, allocations: 0 / 0.5656 GB, free: 10.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.536e-06/0.1736, allocations: 0 / 0.5656 GB, free: 10.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.009e-05/0.1736, allocations: 0 / 0.5656 GB, free: 10.51 MB / 430.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.003742/0.1774, allocations: 1.626 MB / 0.5672 GB, free: 8.828 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1774, allocations: 12.03 kB / 0.5672 GB, free: 8.816 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.729e-05/0.1775, allocations: 30.19 kB / 0.5672 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002221/0.1777, allocations: 165.2 kB / 0.5674 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.1792, allocations: 275.8 kB / 0.5676 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.1812, allocations: 0.965 MB / 0.5686 GB, free: 7.336 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.179e-05/0.1813, allocations: 73.98 kB / 0.5687 GB, free: 7.266 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004669/0.1817, allocations: 183.8 kB / 0.5688 GB, free: 7.086 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.1842, allocations: 1.56 MB / 0.5704 GB, free: 5.445 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.1843, allocations: 4 kB / 0.5704 GB, free: 5.441 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.1844, allocations: 39.98 kB / 0.5704 GB, free: 5.402 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000645/0.185, allocations: 165.8 kB / 0.5706 GB, free: 5.238 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/0.1872, allocations: 1.249 MB / 0.5718 GB, free: 3.98 MB / 430.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.009318/0.1966, allocations: 6.463 MB / 0.5781 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.1982, allocations: 0.8786 MB / 0.579 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008474/0.1991, allocations: 484.5 kB / 0.5794 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.06e-05/0.1992, allocations: 16.98 kB / 0.5794 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.1992, allocations: 47.5 kB / 0.5795 GB, free: 11.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=91): time 2.986e-06/0.1992, allocations: 0 / 0.5795 GB, free: 11.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.00753/0.2068, allocations: 3.705 MB / 0.5831 GB, free: 7.852 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.2068, allocations: 97.98 kB / 0.5832 GB, free: 7.734 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009489/0.2078, allocations: 0.7235 MB / 0.5839 GB, free: 6.996 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.259e-05/0.2079, allocations: 53.67 kB / 0.5839 GB, free: 6.938 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004535/0.2083, allocations: 0.5667 MB / 0.5845 GB, free: 6.363 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003585/0.2087, allocations: 388.7 kB / 0.5849 GB, free: 5.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003798/0.2091, allocations: 226.9 kB / 0.5851 GB, free: 5.754 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000235/0.2093, allocations: 414.7 kB / 0.5855 GB, free: 5.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009844/0.2103, allocations: 0.5647 MB / 0.586 GB, free: 4.773 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.2115, allocations: 0.8814 MB / 0.5869 GB, free: 3.762 MB / 446.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.009217/0.2208, allocations: 3.236 MB / 0.5901 GB, free: 412 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.484e-05/0.2208, allocations: 4 kB / 0.5901 GB, free: 408 kB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.2607/0.4815, allocations: 2.685 MB / 0.5927 GB, free: 50.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.4815, allocations: 11.66 kB / 0.5927 GB, free: 50.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.919e-05/0.4816, allocations: 12.11 kB / 0.5927 GB, free: 50.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00336/0.4849, allocations: 1.157 MB / 0.5938 GB, free: 50.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009239/0.4858, allocations: 201.2 kB / 0.594 GB, free: 50.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0203/0.5061, allocations: 12.29 MB / 0.606 GB, free: 44.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.5072, allocations: 53.52 kB / 0.6061 GB, free: 44.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.5073, allocations: 59.11 kB / 0.6061 GB, free: 44.92 MB / 446.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.0006982/0.508, allocations: 410.1 kB / 0.6065 GB, free: 44.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.5082, allocations: 101.7 kB / 0.6066 GB, free: 44.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/0.5105, allocations: 1.408 MB / 0.608 GB, free: 44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.5105, allocations: 9.812 kB / 0.608 GB, free: 44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.5105, allocations: 5.312 kB / 0.608 GB, free: 44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.5106, allocations: 8.312 kB / 0.608 GB, free: 44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004211/0.5148, allocations: 2.661 MB / 0.6106 GB, free: 42.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.5148, allocations: 2.125 kB / 0.6106 GB, free: 42.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/0.5162, allocations: 277.3 kB / 0.6109 GB, free: 42.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001616/0.5164, allocations: 53.55 kB / 0.6109 GB, free: 42.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-05/0.5165, allocations: 42.52 kB / 0.611 GB, free: 42.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.5179, allocations: 2.846 MB / 0.6138 GB, free: 39.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5179, allocations: 3.906 kB / 0.6138 GB, free: 39.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/0.5205, allocations: 1.896 MB / 0.6156 GB, free: 38.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005191/0.521, allocations: 258.6 kB / 0.6159 GB, free: 38.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.5212, allocations: 38.28 kB / 0.6159 GB, free: 38.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006114/0.5218, allocations: 43.19 kB / 0.6159 GB, free: 38.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.522, allocations: 64.78 kB / 0.616 GB, free: 38.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.757e-05/0.522, allocations: 32.45 kB / 0.616 GB, free: 38.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006866/0.5227, allocations: 0.493 MB / 0.6165 GB, free: 38.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5227, allocations: 0 / 0.6165 GB, free: 38.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001466/0.5242, allocations: 378.5 kB / 0.6169 GB, free: 38.42 MB / 446.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.002609/0.5268, allocations: 2.486 MB / 0.6193 GB, free: 36.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004703/0.5315, allocations: 2.041 MB / 0.6213 GB, free: 35.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.5315, allocations: 256 / 0.6213 GB, free: 35.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.5325, allocations: 0.7359 MB / 0.622 GB, free: 34.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.5337, allocations: 212.6 kB / 0.6222 GB, free: 34.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02062/0.5544, allocations: 13.93 MB / 0.6358 GB, free: 20.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009214/0.5553, allocations: 1.306 MB / 0.6371 GB, free: 18.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000817/0.5561, allocations: 312 kB / 0.6374 GB, free: 18.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005976/0.5567, allocations: 459.3 kB / 0.6378 GB, free: 18.09 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5567, allocations: 0 / 0.6378 GB, free: 18.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06458/0.6213, allocations: 30.56 MB / 0.6677 GB, free: 3.762 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/15.38, allocations: 7.75 kB / 0.6677 GB, free: 3.758 MB / 462.1 MB " [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: 18.34532414097339] Failed to read output from testmodel.py, exit status != 0: 15.553160362993367 15.567427336 15.390863602 Calling exit ...