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.002103/0.002103, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002099/0.002099, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1884/0.1884, allocations: 38.55 MB / 352.5 MB, free: 12.29 MB / 286.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",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.002175/0.002175, allocations: 67.89 kB / 492.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3372, allocations: 62.47 MB / 0.5419 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01323/0.3504, allocations: 9.924 MB / 0.5516 GB, free: 8.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01142/0.3619, allocations: 5.745 MB / 0.5572 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.3631, allocations: 64.22 kB / 0.5573 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0142/0.3773, allocations: 6.019 MB / 0.5632 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003626/0.3809, allocations: 1.081 MB / 0.5642 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.383, allocations: 0.6745 MB / 0.5649 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006006/0.389, allocations: 3.302 MB / 0.5681 GB, free: 9.379 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.3904, allocations: 0.8513 MB / 0.569 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002085/0.3925, allocations: 1.105 MB / 0.57 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002257/0.3948, allocations: 1.402 MB / 0.5714 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002698/0.395, allocations: 140 kB / 0.5715 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.3961, allocations: 439.5 kB / 0.572 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000927/0.397, allocations: 0.8765 MB / 0.5728 GB, free: 4.539 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009521/0.398, allocations: 0.7621 MB / 0.5736 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002962/0.4009, allocations: 2.312 MB / 0.5758 GB, free: 1.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4009, allocations: 0 / 0.5758 GB, free: 1.453 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4009, allocations: 0 / 0.5758 GB, free: 1.453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.048e-05/0.401, allocations: 0 / 0.5758 GB, free: 1.453 MB / 414.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.004437/0.4054, allocations: 2.033 MB / 0.5778 GB, free: 15.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4055, allocations: 15.98 kB / 0.5778 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002972/0.4058, allocations: 228 kB / 0.578 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.4075, allocations: 331.5 kB / 0.5783 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00339/0.4109, allocations: 1.119 MB / 0.5794 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.411, allocations: 102.6 kB / 0.5795 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006947/0.4117, allocations: 235.7 kB / 0.5798 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003828/0.4156, allocations: 2.099 MB / 0.5818 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.862e-05/0.4156, allocations: 15.89 kB / 0.5818 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/0.4158, allocations: 55.98 kB / 0.5819 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000794/0.4166, allocations: 190.6 kB / 0.5821 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003349/0.4199, allocations: 1.701 MB / 0.5837 GB, free: 9.141 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.01247/0.4324, allocations: 7.145 MB / 0.5907 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/0.4349, allocations: 1.25 MB / 0.5919 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.436, allocations: 0.6165 MB / 0.5925 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.114e-05/0.4361, allocations: 17 kB / 0.5925 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.4361, allocations: 43.56 kB / 0.5926 GB, free: 15.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.426e-06/0.4361, allocations: 3.938 kB / 0.5926 GB, free: 15.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.01065/0.4468, allocations: 4.533 MB / 0.597 GB, free: 11.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.282e-05/0.4469, allocations: 94.42 kB / 0.5971 GB, free: 11.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.4485, allocations: 0.9541 MB / 0.598 GB, free: 10.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002274/0.4487, allocations: 49.7 kB / 0.5981 GB, free: 10.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007605/0.4495, allocations: 0.7348 MB / 0.5988 GB, free: 9.336 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000629/0.4501, allocations: 0.5229 MB / 0.5993 GB, free: 8.809 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005291/0.4506, allocations: 311.5 kB / 0.5996 GB, free: 8.496 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4508, allocations: 305.2 kB / 0.5999 GB, free: 8.195 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.452, allocations: 0.7027 MB / 0.6006 GB, free: 7.492 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/0.4538, allocations: 1.155 MB / 0.6017 GB, free: 6.148 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.01125/0.4651, allocations: 4.082 MB / 0.6057 GB, free: 1.895 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-05/0.4651, allocations: 4 kB / 0.6057 GB, free: 1.891 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007419/0.4725, allocations: 3.233 MB / 0.6089 GB, free: 14.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.4726, allocations: 8 kB / 0.6089 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.018e-05/0.4726, allocations: 19.94 kB / 0.6089 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003188/0.4758, allocations: 1.176 MB / 0.61 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.4771, allocations: 303.6 kB / 0.6103 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02221/0.4993, allocations: 14.51 MB / 0.6245 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.5006, allocations: 75.89 kB / 0.6246 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.5007, allocations: 75.98 kB / 0.6246 GB, free: 14.01 MB / 478.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.0009975/0.5017, allocations: 0.4933 MB / 0.6251 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.502, allocations: 139.1 kB / 0.6252 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003589/0.5056, allocations: 1.804 MB / 0.627 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.5056, allocations: 16 kB / 0.627 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.5056, allocations: 0 / 0.627 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.5056, allocations: 7.969 kB / 0.627 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007523/0.5131, allocations: 3.296 MB / 0.6302 GB, free: 8.121 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.5132, allocations: 4 kB / 0.6303 GB, free: 8.117 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/0.5149, allocations: 328 kB / 0.6306 GB, free: 7.797 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005973/0.5155, allocations: 195.2 kB / 0.6308 GB, free: 7.594 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.5156, allocations: 51.97 kB / 0.6308 GB, free: 7.543 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006299/0.5219, allocations: 6.232 MB / 0.6369 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.5219, allocations: 4 kB / 0.6369 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004481/0.5264, allocations: 2.489 MB / 0.6393 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008125/0.5272, allocations: 250.9 kB / 0.6396 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.5274, allocations: 47.94 kB / 0.6396 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007086/0.5281, allocations: 59.95 kB / 0.6397 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/0.5284, allocations: 105.1 kB / 0.6398 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.023e-05/0.5285, allocations: 47.92 kB / 0.6398 GB, free: 13.79 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009407/0.5294, allocations: 0.6244 MB / 0.6404 GB, free: 13.15 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5294, allocations: 0 / 0.6404 GB, free: 13.15 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001801/0.5312, allocations: 488 kB / 0.6409 GB, free: 12.68 MB / 494.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.004989/0.5362, allocations: 3.089 MB / 0.6439 GB, free: 9.492 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005005/0.5412, allocations: 2.637 MB / 0.6465 GB, free: 6.812 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.5412, allocations: 0 / 0.6465 GB, free: 6.812 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002084/0.5433, allocations: 1.194 MB / 0.6476 GB, free: 5.566 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.5449, allocations: 321.5 kB / 0.6479 GB, free: 5.258 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0329/0.5778, allocations: 17.1 MB / 0.6647 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/0.5792, allocations: 0.9355 MB / 0.6656 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001397/0.5805, allocations: 403.6 kB / 0.6659 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.5816, allocations: 0.6165 MB / 0.6666 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of SimCode: time 1.152e-06/0.5816, allocations: 0 / 0.6666 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/0.6836, allocations: 40.04 MB / 0.7057 GB, free: 9.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.29, allocations: 4.062 kB / 0.7057 GB, free: 9.906 MB / 0.545 GB " [Timeout remaining time 645] (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: 18.198856472969055] Failed to read output from testmodel.py, exit status != 0: 15.434889123309404 15.452167559 15.047601982 Calling exit ...