Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.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.0007908/0.0007908, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008102/0.0008102, allocations: 174.3 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.8673/0.8673, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2232/0.2232, allocations: 29.41 MB / 290.1 MB, free: 2.43 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_PSGR,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGR,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.161e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.008687/0.008708, allocations: 10.15 MB / 440.3 MB, free: 3.398 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1668/0.1755, allocations: 6.492 MB / 446.8 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008239/0.1763, allocations: 63.81 kB / 446.9 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01262/0.1889, allocations: 14.36 MB / 461.3 MB, free: 41.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002517/0.1914, allocations: 1.153 MB / 462.4 MB, free: 41.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1928, allocations: 0.7071 MB / 463.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003702/0.1965, allocations: 4.092 MB / 467.2 MB, free: 39.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009975/0.1975, allocations: 0.8358 MB / 468 MB, free: 39.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/0.199, allocations: 1.444 MB / 469.5 MB, free: 38.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.2003, allocations: 1.363 MB / 470.9 MB, free: 38.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001729/0.2004, allocations: 144.6 kB / 471 MB, free: 38.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007716/0.2012, allocations: 0.546 MB / 471.5 MB, free: 38.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005035/0.2017, allocations: 0.9531 MB / 472.5 MB, free: 38.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004892/0.2022, allocations: 0.6593 MB / 473.2 MB, free: 37.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.2045, allocations: 2.546 MB / 475.7 MB, free: 37.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2045, allocations: 0 / 475.7 MB, free: 37.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2045, allocations: 1.5 kB / 475.7 MB, free: 37.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.068e-05/0.2045, allocations: 4 kB / 475.7 MB, free: 37.24 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.003784/0.2083, allocations: 2.125 MB / 477.8 MB, free: 36.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.2083, allocations: 15 kB / 477.8 MB, free: 36.01 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002624/0.2086, allocations: 223.1 kB / 478.1 MB, free: 35.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.2101, allocations: 392.2 kB / 478.4 MB, free: 35.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002565/0.2127, allocations: 1.19 MB / 479.6 MB, free: 35.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.04e-05/0.2127, allocations: 107.2 kB / 479.7 MB, free: 35.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004633/0.2132, allocations: 228.5 kB / 480 MB, free: 35.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002807/0.216, allocations: 2.154 MB / 482.1 MB, free: 34.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.863e-05/0.216, allocations: 8.266 kB / 482.1 MB, free: 34.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.872e-05/0.2161, allocations: 55.97 kB / 482.2 MB, free: 34.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003794/0.2165, allocations: 179 kB / 482.4 MB, free: 34.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.2188, allocations: 1.758 MB / 484.1 MB, free: 33.54 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.008676/0.2275, allocations: 7.636 MB / 491.7 MB, free: 28.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.2291, allocations: 1.302 MB / 493.1 MB, free: 28.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009306/0.2301, allocations: 0.7494 MB / 493.8 MB, free: 27.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.759e-05/0.2301, allocations: 19.17 kB / 493.8 MB, free: 27.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.2302, allocations: 54.41 kB / 493.9 MB, free: 27.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 3.727e-06/0.2302, allocations: 3.938 kB / 493.9 MB, free: 27.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.006907/0.2371, allocations: 4.947 MB / 498.8 MB, free: 25.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.2371, allocations: 92.2 kB / 498.9 MB, free: 25.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.2382, allocations: 1.065 MB / 500 MB, free: 25.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.577e-05/0.2382, allocations: 55.3 kB / 0.4883 GB, free: 25.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.2385, allocations: 0.7808 MB / 0.4891 GB, free: 24.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000227/0.2387, allocations: 0.5096 MB / 0.4896 GB, free: 24.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/0.239, allocations: 312.3 kB / 0.4899 GB, free: 24.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.88e-05/0.2391, allocations: 309.5 kB / 0.4902 GB, free: 23.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007526/0.2398, allocations: 0.7171 MB / 0.4909 GB, free: 23.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008683/0.2407, allocations: 1.188 MB / 0.492 GB, free: 22.64 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.006241/0.2469, allocations: 4.904 MB / 0.4968 GB, free: 19.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/0.2469, allocations: 4 kB / 0.4968 GB, free: 19.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.003985/0.2509, allocations: 3.338 MB / 0.5001 GB, free: 16.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.251, allocations: 9.562 kB / 0.5001 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.251, allocations: 20.03 kB / 0.5001 GB, free: 16.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001922/0.2529, allocations: 1.245 MB / 0.5013 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/0.2536, allocations: 315.5 kB / 0.5016 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/0.2641, allocations: 15.38 MB / 0.5166 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.2654, allocations: 75.94 kB / 0.5167 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/0.2656, allocations: 82.95 kB / 0.5168 GB, free: 14.43 MB / 426.7 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 5.051577893736758e-5 * $DER.generator.i_s[3] = 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: 63 * 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 (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,23), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0009037/0.2665, allocations: 0.5167 MB / 0.5173 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.2667, allocations: 147 kB / 0.5174 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.2687, allocations: 1.833 MB / 0.5192 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.2688, allocations: 16 kB / 0.5192 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2688, allocations: 4 kB / 0.5192 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.2688, allocations: 11.61 kB / 0.5193 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004074/0.2728, allocations: 3.35 MB / 0.5225 GB, free: 8.465 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.2729, allocations: 7.938 kB / 0.5225 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008624/0.2737, allocations: 319.9 kB / 0.5228 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003435/0.2741, allocations: 208 kB / 0.523 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.603e-05/0.2742, allocations: 51.97 kB / 0.5231 GB, free: 7.875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003833/0.278, allocations: 7.384 MB / 0.5303 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.278, allocations: 7.938 kB / 0.5303 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003073/0.2811, allocations: 2.517 MB / 0.5328 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005552/0.2816, allocations: 260 kB / 0.533 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.2817, allocations: 47.98 kB / 0.5331 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/0.2822, allocations: 59.88 kB / 0.5331 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.2823, allocations: 101 kB / 0.5332 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.272e-05/0.2824, allocations: 43.98 kB / 0.5333 GB, free: 12.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008004/0.2832, allocations: 0.697 MB / 0.5339 GB, free: 12.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2832, allocations: 0 / 0.5339 GB, free: 12.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001377/0.2846, allocations: 0.5078 MB / 0.5344 GB, free: 11.63 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 25 (inertia.phi,inertia.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],meterDC.pav,inverter2.vDC1,line.v[1,2],line.v[1,3],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]) * 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 (126): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (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.003149/0.2877, allocations: 3.158 MB / 0.5375 GB, free: 8.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003156/0.2909, allocations: 2.767 MB / 0.5402 GB, free: 5.578 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2909, allocations: 0 / 0.5402 GB, free: 5.578 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.292, allocations: 1.333 MB / 0.5415 GB, free: 4.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.2931, allocations: 319.8 kB / 0.5418 GB, free: 3.867 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01973/0.3128, allocations: 17.18 MB / 0.5586 GB, free: 2.098 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008733/0.3137, allocations: 0.9604 MB / 0.5595 GB, free: 1.102 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008987/0.3146, allocations: 444.1 kB / 0.56 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006164/0.3152, allocations: 0.6604 MB / 0.5606 GB, free: 4 kB / 458.7 MB Notification: Performance of SimCode: time 1.673e-06/0.3152, allocations: 0 / 0.5606 GB, free: 4 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06886/0.3841, allocations: 42.99 MB / 0.6026 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.005/9.389, allocations: 7.922 kB / 0.6026 GB, free: 5.402 MB / 0.4948 GB " [Timeout remaining time 650] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGR_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGR.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.289361914619803] Failed to read output from testmodel.py, exit status != 0: 9.506668632850051 9.518142239 9.311839455 Calling exit ...