Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001279/0.001279, allocations: 121 kB / 18.5 MB, free: 4.562 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.001374/0.001374, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.496/1.496, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1923/0.1923, allocations: 38.51 MB / 349.4 MB, free: 2.598 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG",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.003049/0.003049, allocations: 75.88 kB / 487.8 MB, free: 22.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1653, allocations: 62.42 MB / 0.5374 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01567/0.181, allocations: 10.74 MB / 0.5478 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.1923, allocations: 6.285 MB / 0.554 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009956/0.1933, allocations: 63.5 kB / 0.554 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01135/0.2046, allocations: 5.554 MB / 0.5595 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002898/0.2075, allocations: 1.089 MB / 0.5605 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.2092, allocations: 0.6511 MB / 0.5612 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005048/0.2143, allocations: 3.224 MB / 0.5643 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.2157, allocations: 0.8206 MB / 0.5651 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/0.2175, allocations: 1.086 MB / 0.5662 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002527/0.22, allocations: 1.445 MB / 0.5676 GB, free: 8.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003342/0.2203, allocations: 144 kB / 0.5677 GB, free: 8.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.2215, allocations: 455.5 kB / 0.5682 GB, free: 7.895 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.2225, allocations: 0.8687 MB / 0.569 GB, free: 7.023 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.2238, allocations: 0.9213 MB / 0.5699 GB, free: 6.098 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003044/0.2268, allocations: 2.288 MB / 0.5721 GB, free: 3.801 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2268, allocations: 4 kB / 0.5721 GB, free: 3.797 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2268, allocations: 0 / 0.5721 GB, free: 3.797 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.629e-05/0.2269, allocations: 0 / 0.5721 GB, free: 3.797 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.005438/0.2323, allocations: 2.118 MB / 0.5742 GB, free: 1.617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.516e-05/0.2324, allocations: 8.031 kB / 0.5742 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.998e-05/0.2325, allocations: 42.83 kB / 0.5743 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003116/0.2328, allocations: 224 kB / 0.5745 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.2347, allocations: 335.3 kB / 0.5748 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002785/0.2375, allocations: 1.215 MB / 0.576 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.2376, allocations: 106.5 kB / 0.5761 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000576/0.2382, allocations: 219.9 kB / 0.5763 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003533/0.2417, allocations: 2.111 MB / 0.5784 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.055e-05/0.2418, allocations: 15.88 kB / 0.5784 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/0.2419, allocations: 59.92 kB / 0.5784 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007166/0.2427, allocations: 182.7 kB / 0.5786 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003107/0.2458, allocations: 1.701 MB / 0.5803 GB, free: 11.25 MB / 446.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.01276/0.2585, allocations: 7.932 MB / 0.588 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/0.261, allocations: 1.553 MB / 0.5895 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.262, allocations: 0.6176 MB / 0.5901 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.915e-05/0.2621, allocations: 20.98 kB / 0.5901 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.2622, allocations: 47.5 kB / 0.5902 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.406e-06/0.2622, allocations: 0 / 0.5902 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.263/0.5252, allocations: 5.111 MB / 0.5952 GB, free: 50.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.5252, allocations: 95.77 kB / 0.5953 GB, free: 49.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.5265, allocations: 0.9379 MB / 0.5962 GB, free: 49.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.987e-05/0.5266, allocations: 47.7 kB / 0.5962 GB, free: 49.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004146/0.527, allocations: 0.7426 MB / 0.597 GB, free: 49.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003552/0.5273, allocations: 0.5232 MB / 0.5975 GB, free: 48.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004692/0.5278, allocations: 308.5 kB / 0.5978 GB, free: 48.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.539e-05/0.5278, allocations: 302.8 kB / 0.5981 GB, free: 48.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.529, allocations: 0.7038 MB / 0.5987 GB, free: 48.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.5304, allocations: 1.155 MB / 0.5999 GB, free: 47.27 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.01073/0.5412, allocations: 4.081 MB / 0.6039 GB, free: 45.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-05/0.5412, allocations: 7.25 kB / 0.6039 GB, free: 45.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007158/0.5484, allocations: 3.305 MB / 0.6071 GB, free: 44.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.5484, allocations: 10.75 kB / 0.6071 GB, free: 44.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/0.5484, allocations: 14.34 kB / 0.6071 GB, free: 44.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003315/0.5517, allocations: 1.189 MB / 0.6083 GB, free: 44.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.5531, allocations: 300.1 kB / 0.6086 GB, free: 44.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01693/0.57, allocations: 15.16 MB / 0.6234 GB, free: 34.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.5714, allocations: 79.33 kB / 0.6234 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.5715, allocations: 74.94 kB / 0.6235 GB, free: 33.91 MB / 446.1 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.0007985/0.5723, allocations: 498.1 kB / 0.624 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/0.5725, allocations: 151 kB / 0.6241 GB, free: 33.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/0.5752, allocations: 2.002 MB / 0.6261 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.5752, allocations: 16 kB / 0.6261 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.5752, allocations: 3.938 kB / 0.6261 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.5753, allocations: 11.97 kB / 0.6261 GB, free: 31.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00538/0.5806, allocations: 3.747 MB / 0.6298 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.5806, allocations: 8.031 kB / 0.6298 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/0.5823, allocations: 327.5 kB / 0.6301 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004676/0.5827, allocations: 191.3 kB / 0.6303 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-05/0.5828, allocations: 47.97 kB / 0.6303 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003686/0.5865, allocations: 6.67 MB / 0.6368 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.5865, allocations: 8.062 kB / 0.6368 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003328/0.5899, allocations: 2.718 MB / 0.6395 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005935/0.5905, allocations: 324.1 kB / 0.6398 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.5906, allocations: 47.98 kB / 0.6399 GB, free: 16.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007087/0.5913, allocations: 56.78 kB / 0.6399 GB, free: 16.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.5915, allocations: 101.1 kB / 0.64 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.331e-05/0.5916, allocations: 36 kB / 0.64 GB, free: 16.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006623/0.5923, allocations: 0.6283 MB / 0.6407 GB, free: 15.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5923, allocations: 0 / 0.6407 GB, free: 15.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001727/0.594, allocations: 488 kB / 0.6411 GB, free: 14.96 MB / 446.1 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.003335/0.5973, allocations: 3.338 MB / 0.6444 GB, free: 11.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0039/0.6012, allocations: 2.62 MB / 0.6469 GB, free: 8.828 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.6012, allocations: 0 / 0.6469 GB, free: 8.828 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001502/0.6027, allocations: 1.208 MB / 0.6481 GB, free: 7.574 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.6042, allocations: 318.1 kB / 0.6484 GB, free: 7.273 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02747/0.6316, allocations: 17.23 MB / 0.6652 GB, free: 5.406 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/0.6331, allocations: 1.521 MB / 0.6667 GB, free: 3.852 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001188/0.6342, allocations: 399.6 kB / 0.6671 GB, free: 3.457 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009423/0.6352, allocations: 0.6203 MB / 0.6677 GB, free: 2.836 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.6352, allocations: 2.188 kB / 0.6677 GB, free: 2.836 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08862/0.7238, allocations: 39.53 MB / 0.7063 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.45/16.17, allocations: 15.88 kB / 0.7063 GB, free: 11.55 MB / 0.4981 GB " [Timeout remaining time 644] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.139992249023635] Failed to read output from testmodel.py, exit status != 0: 16.35723082802724 16.381303093 16.149758919 Calling exit ...