Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.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.0008698/0.0008698, 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.001127/0.001127, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8933/0.8933, 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.2237/0.2237, allocations: 29.4 MB / 290.1 MB, free: 2.449 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_DFIG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.002e-06/1.002e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.282e-05, allocations: 8.609 kB / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01011/0.01013, allocations: 9.842 MB / 440 MB, free: 3.699 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1945/0.2047, allocations: 5.757 MB / 445.8 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008687/0.2056, allocations: 63.53 kB / 445.9 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006781/0.2123, allocations: 6.063 MB / 451.9 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.2145, allocations: 1.117 MB / 453 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.2158, allocations: 0.7057 MB / 453.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002968/0.2187, allocations: 3.323 MB / 457.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000958/0.2197, allocations: 0.8513 MB / 457.9 MB, free: 41.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.2212, allocations: 1.422 MB / 459.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.2224, allocations: 1.309 MB / 460.7 MB, free: 40.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.2225, allocations: 143.7 kB / 460.8 MB, free: 40.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006601/0.2232, allocations: 450.6 kB / 461.2 MB, free: 40.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004833/0.2237, allocations: 0.9059 MB / 462.1 MB, free: 40.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004744/0.2241, allocations: 0.6455 MB / 462.8 MB, free: 40.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.2259, allocations: 2.32 MB / 465.1 MB, free: 39.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2259, allocations: 1.5 kB / 465.1 MB, free: 39.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2259, allocations: 4 kB / 465.1 MB, free: 39.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.462e-05/0.2259, allocations: 0 / 465.1 MB, free: 39.38 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.002381/0.2283, allocations: 2.021 MB / 467.1 MB, free: 38.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.2284, allocations: 16.62 kB / 467.1 MB, free: 38.21 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001737/0.2285, allocations: 224.6 kB / 467.4 MB, free: 38.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009417/0.2295, allocations: 342 kB / 467.7 MB, free: 37.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.231, allocations: 1.123 MB / 468.8 MB, free: 37.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.483e-05/0.231, allocations: 107.2 kB / 468.9 MB, free: 37.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003184/0.2313, allocations: 225.5 kB / 469.1 MB, free: 37.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.2333, allocations: 2.111 MB / 471.3 MB, free: 36.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.2333, allocations: 6.922 kB / 471.3 MB, free: 36.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.253e-05/0.2334, allocations: 52.8 kB / 471.3 MB, free: 36.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003255/0.2337, allocations: 182.6 kB / 471.5 MB, free: 36.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.2354, allocations: 1.705 MB / 473.2 MB, free: 35.81 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.006475/0.2419, allocations: 7.126 MB / 480.3 MB, free: 31.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.2435, allocations: 1.251 MB / 481.6 MB, free: 30.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007373/0.2442, allocations: 0.6153 MB / 482.2 MB, free: 30.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-05/0.2443, allocations: 23.73 kB / 482.2 MB, free: 30.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.2443, allocations: 46.3 kB / 482.3 MB, free: 30.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 3.246e-06/0.2443, allocations: 0 / 482.3 MB, free: 30.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=138): time 0.006447/0.2507, allocations: 4.52 MB / 486.8 MB, free: 28.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.2508, allocations: 96.66 kB / 486.9 MB, free: 28.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000972/0.2517, allocations: 0.9545 MB / 487.8 MB, free: 28.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.647e-05/0.2518, allocations: 51.3 kB / 487.9 MB, free: 28.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.2521, allocations: 0.7384 MB / 488.6 MB, free: 27.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.2524, allocations: 0.5168 MB / 489.1 MB, free: 27.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003258/0.2527, allocations: 310 kB / 489.4 MB, free: 27.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.335e-05/0.2528, allocations: 306.8 kB / 489.7 MB, free: 26.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009342/0.2537, allocations: 0.7025 MB / 490.4 MB, free: 26.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.2549, allocations: 1.152 MB / 491.6 MB, free: 25.81 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.006947/0.2619, allocations: 4.08 MB / 495.7 MB, free: 24.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.011e-05/0.2619, allocations: 4.031 kB / 495.7 MB, free: 24.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.005059/0.267, allocations: 3.236 MB / 498.9 MB, free: 23.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.267, allocations: 11.36 kB / 498.9 MB, free: 23.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-05/0.267, allocations: 13.31 kB / 498.9 MB, free: 23.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002145/0.2692, allocations: 1.18 MB / 0.4884 GB, free: 22.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007426/0.2699, allocations: 300.4 kB / 0.4887 GB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.2806, allocations: 14.53 MB / 0.5029 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.2817, allocations: 79.64 kB / 0.5029 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.185e-05/0.2817, allocations: 71.98 kB / 0.503 GB, free: 12 MB / 410.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 $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: 60 * 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 (146): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,15), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0006985/0.2824, allocations: 0.4941 MB / 0.5035 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.2826, allocations: 139.1 kB / 0.5036 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.2842, allocations: 1.789 MB / 0.5054 GB, free: 9.555 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.2842, allocations: 19.94 kB / 0.5054 GB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2842, allocations: 3.938 kB / 0.5054 GB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.2843, allocations: 11.97 kB / 0.5054 GB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003359/0.2876, allocations: 3.307 MB / 0.5086 GB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.2876, allocations: 7.938 kB / 0.5086 GB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008187/0.2884, allocations: 328 kB / 0.509 GB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002679/0.2887, allocations: 183.3 kB / 0.5091 GB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.872e-05/0.2888, allocations: 47.98 kB / 0.5092 GB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002509/0.2913, allocations: 6.225 MB / 0.5153 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.2913, allocations: 4 kB / 0.5153 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002857/0.2942, allocations: 2.488 MB / 0.5177 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005574/0.2947, allocations: 243 kB / 0.5179 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.2948, allocations: 43.98 kB / 0.518 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003961/0.2952, allocations: 59.94 kB / 0.518 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.2954, allocations: 109 kB / 0.5181 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.512e-05/0.2955, allocations: 43.98 kB / 0.5182 GB, free: 11.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006589/0.2961, allocations: 0.6243 MB / 0.5188 GB, free: 11.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2961, allocations: 0 / 0.5188 GB, free: 11.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001572/0.2977, allocations: 488 kB / 0.5192 GB, free: 10.74 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 26 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],generator.phiRotor,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],inertia.phi,inertia.w,meterDC.pav,inverter2.vDC1) * 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 (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,10,100.0%), (1,1,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.002788/0.3005, allocations: 3.087 MB / 0.5223 GB, free: 7.566 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003465/0.3039, allocations: 2.619 MB / 0.5248 GB, free: 4.898 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.3039, allocations: 0 / 0.5248 GB, free: 4.898 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.3051, allocations: 1.195 MB / 0.526 GB, free: 3.656 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.3062, allocations: 329.2 kB / 0.5263 GB, free: 3.348 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/0.3261, allocations: 16.61 MB / 0.5425 GB, free: 2.133 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008053/0.3269, allocations: 0.9276 MB / 0.5434 GB, free: 1.168 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008174/0.3277, allocations: 407.6 kB / 0.5438 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005874/0.3283, allocations: 0.6175 MB / 0.5444 GB, free: 152 kB / 442.7 MB Notification: Performance of SimCode: time 1.683e-06/0.3283, allocations: 0 / 0.5444 GB, free: 152 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06355/0.3918, allocations: 40.18 MB / 0.5837 GB, free: 8.359 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.836/9.228, allocations: 3.375 kB / 0.5837 GB, free: 8.359 MB / 490.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_DFIG_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_DFIG.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.128544005565345] Failed to read output from testmodel.py, exit status != 0: 9.336429555900395 9.344754996 9.117191744 Calling exit ...