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.0008561/0.0008561, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001049/0.001049, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9071/0.9071, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.2226/0.2226, allocations: 29.4 MB / 290.1 MB, free: 2.465 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.457e-06/3.457e-06, allocations: 0 / 430.2 MB, free: 13.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.241e-05/4.587e-05, allocations: 6.781 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01034/0.01039, allocations: 7.608 MB / 437.8 MB, free: 5.977 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007762/0.01815, allocations: 5.066 MB / 442.9 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.01927, allocations: 35.69 kB / 442.9 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1916/0.2108, allocations: 5.775 MB / 448.7 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.2125, allocations: 0.8756 MB / 449.6 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008823/0.2134, allocations: 0.5373 MB / 450.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002162/0.2155, allocations: 2.627 MB / 452.7 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005524/0.2161, allocations: 0.5528 MB / 453.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007579/0.2168, allocations: 1.017 MB / 454.3 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000786/0.2176, allocations: 1.013 MB / 455.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.2177, allocations: 103.3 kB / 455.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005263/0.2183, allocations: 393.1 kB / 455.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003375/0.2186, allocations: 0.7033 MB / 456.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003272/0.2189, allocations: 489.5 kB / 457 MB, free: 42.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.2202, allocations: 1.78 MB / 458.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2202, allocations: 1.5 kB / 458.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2202, allocations: 0 / 458.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.2202, allocations: 4 kB / 458.8 MB, free: 41.61 MB / 410.7 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.001901/0.2221, allocations: 1.542 MB / 460.3 MB, free: 40.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.2222, allocations: 13.39 kB / 460.3 MB, free: 40.68 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/0.2223, allocations: 167.2 kB / 460.5 MB, free: 40.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008159/0.2231, allocations: 280.8 kB / 460.8 MB, free: 40.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.2243, allocations: 0.8643 MB / 461.6 MB, free: 40.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.2243, allocations: 73.36 kB / 461.7 MB, free: 40.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002755/0.2246, allocations: 189 kB / 461.9 MB, free: 40 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.226, allocations: 1.568 MB / 463.4 MB, free: 39.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.2261, allocations: 6.031 kB / 463.4 MB, free: 39.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.535e-05/0.2261, allocations: 41.95 kB / 463.5 MB, free: 39.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003088/0.2264, allocations: 150.4 kB / 463.6 MB, free: 39.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.2278, allocations: 1.243 MB / 464.9 MB, free: 38.93 MB / 410.7 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.004826/0.2327, allocations: 5.638 MB / 470.5 MB, free: 35.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009583/0.2336, allocations: 0.8754 MB / 471.4 MB, free: 35.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004468/0.2341, allocations: 492.2 kB / 471.9 MB, free: 34.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.983e-05/0.2341, allocations: 9.844 kB / 471.9 MB, free: 34.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.2341, allocations: 45.16 kB / 471.9 MB, free: 34.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 2.705e-06/0.2341, allocations: 0 / 471.9 MB, free: 34.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.003874/0.238, allocations: 3.25 MB / 475.2 MB, free: 33.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.238, allocations: 87.8 kB / 475.3 MB, free: 33.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000559/0.2386, allocations: 0.744 MB / 476 MB, free: 33.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/0.2387, allocations: 45.7 kB / 476.1 MB, free: 33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.2388, allocations: 0.5599 MB / 476.6 MB, free: 32.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.239, allocations: 384.6 kB / 477 MB, free: 32.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.2392, allocations: 231.5 kB / 477.2 MB, free: 32.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.2393, allocations: 423.2 kB / 477.6 MB, free: 31.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000602/0.2399, allocations: 0.5615 MB / 478.2 MB, free: 31.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007128/0.2406, allocations: 0.8847 MB / 479.1 MB, free: 31.08 MB / 410.7 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.00516/0.2457, allocations: 3.232 MB / 482.3 MB, free: 29.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.2458, allocations: 3.281 kB / 482.3 MB, free: 29.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003851/0.2496, allocations: 2.694 MB / 485 MB, free: 29.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.2496, allocations: 9.875 kB / 485 MB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.2497, allocations: 9.531 kB / 485 MB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/0.2517, allocations: 1.149 MB / 486.2 MB, free: 28.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005371/0.2522, allocations: 202.5 kB / 486.4 MB, free: 28.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/0.266, allocations: 11.93 MB / 498.3 MB, free: 23.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.267, allocations: 53.39 kB / 498.3 MB, free: 23.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.2671, allocations: 55.92 kB / 498.4 MB, free: 23.07 MB / 410.7 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.0008019/0.2679, allocations: 411.7 kB / 498.8 MB, free: 22.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.268, allocations: 101.9 kB / 498.9 MB, free: 22.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/0.2697, allocations: 1.254 MB / 0.4884 GB, free: 22.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.2697, allocations: 9.625 kB / 0.4884 GB, free: 22.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.2697, allocations: 6.172 kB / 0.4884 GB, free: 22.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.2697, allocations: 9.906 kB / 0.4885 GB, free: 22.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/0.2729, allocations: 2.365 MB / 0.4908 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.2729, allocations: 6.516 kB / 0.4908 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000806/0.2737, allocations: 280.4 kB / 0.491 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.2738, allocations: 56.14 kB / 0.4911 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.524e-05/0.2739, allocations: 35.38 kB / 0.4911 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009349/0.2748, allocations: 2.622 MB / 0.4937 GB, free: 18.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.2748, allocations: 9.703 kB / 0.4937 GB, free: 18.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.2766, allocations: 1.737 MB / 0.4954 GB, free: 17.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/0.2769, allocations: 192.4 kB / 0.4956 GB, free: 17.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.024e-05/0.277, allocations: 37.98 kB / 0.4956 GB, free: 17.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.2773, allocations: 41.39 kB / 0.4957 GB, free: 17.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.2774, allocations: 68.62 kB / 0.4957 GB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.2774, allocations: 34.62 kB / 0.4958 GB, free: 17.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004607/0.2779, allocations: 498.4 kB / 0.4962 GB, free: 17.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2779, allocations: 0 / 0.4962 GB, free: 17.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00104/0.2789, allocations: 379.9 kB / 0.4966 GB, free: 17.25 MB / 410.7 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.001722/0.2807, allocations: 2.322 MB / 0.4989 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002312/0.283, allocations: 2.04 MB / 0.5009 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.283, allocations: 0 / 0.5009 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000579/0.2836, allocations: 0.7357 MB / 0.5016 GB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006684/0.2842, allocations: 220.5 kB / 0.5018 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/0.2977, allocations: 13.43 MB / 0.5149 GB, free: 15.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006895/0.2984, allocations: 0.7055 MB / 0.5156 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006616/0.2991, allocations: 320 kB / 0.5159 GB, free: 14.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004888/0.2996, allocations: 460.4 kB / 0.5163 GB, free: 13.58 MB / 426.7 MB Notification: Performance of SimCode: time 1.443e-06/0.2996, allocations: 0 / 0.5163 GB, free: 13.58 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05114/0.3507, allocations: 30.88 MB / 0.5465 GB, free: 15.01 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.548/8.899, allocations: 0 / 0.5465 GB, free: 15.01 MB / 458.7 MB " [Timeout remaining time 651] (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: 10.792735803872347] Failed to read output from testmodel.py, exit status != 0: 9.000970460474491 9.009424364 8.787037713 Calling exit ...