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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 123.9 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 185.2 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 249.1 MB, free: 3.59 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1844/0.1844, allocations: 38.5 MB / 342.5 MB, free: 8.055 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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.0019/0.0019, allocations: 63.7 kB / 478.6 MB, free: 33.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1168, allocations: 61.25 MB / 0.5272 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01322/0.13, allocations: 10.71 MB / 0.5377 GB, free: 6.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.1407, allocations: 6.262 MB / 0.5438 GB, free: 320 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.1419, allocations: 51.69 kB / 0.5438 GB, free: 268 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01217/0.1541, allocations: 5.542 MB / 0.5492 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004047/0.1581, allocations: 1.085 MB / 0.5503 GB, free: 9.621 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.1602, allocations: 0.6472 MB / 0.5509 GB, free: 8.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00568/0.1659, allocations: 3.216 MB / 0.5541 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.1675, allocations: 0.8129 MB / 0.5549 GB, free: 4.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002169/0.1697, allocations: 1.082 MB / 0.5559 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002286/0.172, allocations: 1.445 MB / 0.5573 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003232/0.1723, allocations: 144 kB / 0.5575 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.1734, allocations: 451.5 kB / 0.5579 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009655/0.1744, allocations: 0.8609 MB / 0.5588 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.1755, allocations: 0.9292 MB / 0.5597 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003028/0.1786, allocations: 2.265 MB / 0.5619 GB, free: 13.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1786, allocations: 0 / 0.5619 GB, free: 13.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1786, allocations: 0 / 0.5619 GB, free: 13.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.241e-05/0.1786, allocations: 0 / 0.5619 GB, free: 13.72 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.004647/0.1833, allocations: 2.112 MB / 0.5639 GB, free: 11.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.1833, allocations: 11.89 kB / 0.5639 GB, free: 11.53 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002983/0.1836, allocations: 228 kB / 0.5642 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.1851, allocations: 287.5 kB / 0.5644 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002892/0.188, allocations: 1.21 MB / 0.5656 GB, free: 9.758 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.846e-05/0.1881, allocations: 106.6 kB / 0.5657 GB, free: 9.652 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005428/0.1886, allocations: 227.8 kB / 0.5659 GB, free: 9.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003365/0.192, allocations: 2.107 MB / 0.568 GB, free: 7.223 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.085e-05/0.192, allocations: 0 / 0.568 GB, free: 7.223 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.1922, allocations: 59.97 kB / 0.5681 GB, free: 7.164 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006435/0.1928, allocations: 186.6 kB / 0.5682 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003036/0.1959, allocations: 1.713 MB / 0.5699 GB, free: 5.262 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.01238/0.2082, allocations: 7.916 MB / 0.5776 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002422/0.2107, allocations: 1.552 MB / 0.5791 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.2117, allocations: 0.6128 MB / 0.5797 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.95e-05/0.2118, allocations: 24.98 kB / 0.5798 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.2118, allocations: 47.56 kB / 0.5798 GB, free: 10.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.757e-06/0.2118, allocations: 0 / 0.5798 GB, free: 10.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.009672/0.2215, allocations: 5.136 MB / 0.5848 GB, free: 5.359 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.724e-05/0.2216, allocations: 98.36 kB / 0.5849 GB, free: 5.242 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.2231, allocations: 0.9387 MB / 0.5858 GB, free: 4.285 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.2233, allocations: 49.7 kB / 0.5859 GB, free: 4.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006453/0.2239, allocations: 0.7387 MB / 0.5866 GB, free: 3.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005509/0.2245, allocations: 0.519 MB / 0.5871 GB, free: 2.957 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005031/0.225, allocations: 307.5 kB / 0.5874 GB, free: 2.648 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2251, allocations: 305.1 kB / 0.5877 GB, free: 2.348 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.2263, allocations: 0.7027 MB / 0.5884 GB, free: 1.645 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.2279, allocations: 1.155 MB / 0.5895 GB, free: 312 kB / 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.01039/0.2383, allocations: 4.082 MB / 0.5935 GB, free: 12.05 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-05/0.2383, allocations: 7.938 kB / 0.5935 GB, free: 12.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007605/0.2459, allocations: 3.308 MB / 0.5967 GB, free: 8.691 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.2459, allocations: 19.92 kB / 0.5968 GB, free: 8.672 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.167e-05/0.246, allocations: 12 kB / 0.5968 GB, free: 8.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003121/0.2491, allocations: 1.196 MB / 0.5979 GB, free: 7.453 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.2504, allocations: 295.5 kB / 0.5982 GB, free: 7.164 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2569/0.5073, allocations: 15.14 MB / 0.613 GB, free: 66.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.5086, allocations: 73.84 kB / 0.6131 GB, free: 66.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.5088, allocations: 74.05 kB / 0.6131 GB, free: 66.25 MB / 462.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.0008563/0.5096, allocations: 0.4969 MB / 0.6136 GB, free: 66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.5098, allocations: 137.6 kB / 0.6138 GB, free: 66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003206/0.513, allocations: 2.013 MB / 0.6157 GB, free: 65.03 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.5131, allocations: 14.5 kB / 0.6157 GB, free: 65.03 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.5131, allocations: 2.188 kB / 0.6157 GB, free: 65.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.5131, allocations: 10.12 kB / 0.6158 GB, free: 65.03 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006122/0.5192, allocations: 3.757 MB / 0.6194 GB, free: 63.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.5192, allocations: 5.781 kB / 0.6194 GB, free: 63.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/0.5209, allocations: 324.2 kB / 0.6197 GB, free: 63.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005933/0.5215, allocations: 192.8 kB / 0.6199 GB, free: 63.22 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/0.5217, allocations: 45.97 kB / 0.62 GB, free: 63.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004997/0.5267, allocations: 6.675 MB / 0.6265 GB, free: 57.13 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.5267, allocations: 4.156 kB / 0.6265 GB, free: 57.13 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003811/0.5305, allocations: 2.722 MB / 0.6291 GB, free: 55.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007066/0.5312, allocations: 329.5 kB / 0.6295 GB, free: 55.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.5314, allocations: 43.23 kB / 0.6295 GB, free: 55.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006594/0.532, allocations: 60 kB / 0.6296 GB, free: 55.63 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.5322, allocations: 103.6 kB / 0.6297 GB, free: 55.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.531e-05/0.5323, allocations: 41.41 kB / 0.6297 GB, free: 55.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007527/0.5331, allocations: 0.6216 MB / 0.6303 GB, free: 55.35 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5331, allocations: 0 / 0.6303 GB, free: 55.35 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001629/0.5347, allocations: 487.2 kB / 0.6308 GB, free: 55.29 MB / 462.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.003368/0.5381, allocations: 3.315 MB / 0.634 GB, free: 53.35 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003761/0.5418, allocations: 2.635 MB / 0.6366 GB, free: 52.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5418, allocations: 1.75 kB / 0.6366 GB, free: 52.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001538/0.5434, allocations: 1.197 MB / 0.6377 GB, free: 51.49 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.5447, allocations: 332 kB / 0.6381 GB, free: 51.36 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02148/0.5662, allocations: 17.23 MB / 0.6549 GB, free: 34.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008562/0.567, allocations: 1.517 MB / 0.6564 GB, free: 33.43 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009899/0.568, allocations: 399.6 kB / 0.6568 GB, free: 33.04 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006416/0.5687, allocations: 0.6203 MB / 0.6574 GB, free: 32.42 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5687, allocations: 3.938 kB / 0.6574 GB, free: 32.42 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08102/0.6497, allocations: 39.53 MB / 0.696 GB, free: 9.141 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.31/15.96, allocations: 0 / 0.696 GB, free: 9.141 MB / 478.1 MB " [Timeout remaining time 644] (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: 18.95347523735836] Failed to read output from testmodel.py, exit status != 0: 16.082515247166157 16.099950466 15.917938167 Calling exit ...