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.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.001308/0.001308, allocations: 124.7 kB / 17.79 MB, free: 5.246 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.001337/0.001337, allocations: 186.9 kB / 20.73 MB, free: 2.316 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.445/1.445, allocations: 225.6 MB / 249.1 MB, free: 3.629 MB / 190.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.1822/0.1822, allocations: 38.5 MB / 342.5 MB, free: 8.031 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.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_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: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 65.39 kB / 478.6 MB, free: 33.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1108, allocations: 61.25 MB / 0.5272 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.0131/0.1239, allocations: 10.71 MB / 0.5377 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.1358, allocations: 6.266 MB / 0.5438 GB, free: 344 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.1372, allocations: 47.75 kB / 0.5438 GB, free: 296 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01179/0.149, allocations: 5.535 MB / 0.5492 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003201/0.1522, allocations: 1.089 MB / 0.5503 GB, free: 9.648 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.154, allocations: 0.6472 MB / 0.5509 GB, free: 9 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004667/0.1587, allocations: 3.216 MB / 0.5541 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.16, allocations: 0.8167 MB / 0.5549 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.1617, allocations: 1.078 MB / 0.5559 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.1637, allocations: 1.445 MB / 0.5573 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002619/0.164, allocations: 144 kB / 0.5575 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009203/0.1649, allocations: 447.5 kB / 0.5579 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009283/0.1659, allocations: 0.8687 MB / 0.5587 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.167, allocations: 0.929 MB / 0.5597 GB, free: 20 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002944/0.1699, allocations: 2.265 MB / 0.5619 GB, free: 13.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1699, allocations: 4 kB / 0.5619 GB, free: 13.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1699, allocations: 0 / 0.5619 GB, free: 13.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.768e-05/0.17, allocations: 0 / 0.5619 GB, free: 13.74 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.004479/0.1745, allocations: 2.108 MB / 0.5639 GB, free: 11.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.1745, allocations: 11.89 kB / 0.5639 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000301/0.1748, allocations: 228 kB / 0.5642 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.1763, allocations: 283.5 kB / 0.5644 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/0.1791, allocations: 1.218 MB / 0.5656 GB, free: 9.777 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.714e-05/0.1792, allocations: 106.6 kB / 0.5657 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005166/0.1797, allocations: 227.8 kB / 0.5659 GB, free: 9.449 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003457/0.1832, allocations: 2.099 MB / 0.568 GB, free: 7.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.791e-05/0.1833, allocations: 7.938 kB / 0.568 GB, free: 7.242 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.1834, allocations: 59.97 kB / 0.568 GB, free: 7.184 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006282/0.184, allocations: 186.6 kB / 0.5682 GB, free: 7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003091/0.1871, allocations: 1.709 MB / 0.5699 GB, free: 5.285 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.01217/0.1993, allocations: 7.92 MB / 0.5776 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002465/0.2017, allocations: 1.552 MB / 0.5791 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.2028, allocations: 0.6128 MB / 0.5797 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.067e-05/0.2029, allocations: 20.98 kB / 0.5798 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.467e-05/0.2029, allocations: 47.56 kB / 0.5798 GB, free: 10.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.326e-06/0.2029, allocations: 0 / 0.5798 GB, free: 10.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.01012/0.2131, allocations: 5.136 MB / 0.5848 GB, free: 5.383 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/0.2131, allocations: 90.42 kB / 0.5849 GB, free: 5.273 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.2145, allocations: 0.9387 MB / 0.5858 GB, free: 4.316 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.2146, allocations: 53.7 kB / 0.5859 GB, free: 4.258 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006298/0.2153, allocations: 0.7387 MB / 0.5866 GB, free: 3.508 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000512/0.2158, allocations: 0.519 MB / 0.5871 GB, free: 2.984 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005079/0.2163, allocations: 307.5 kB / 0.5874 GB, free: 2.676 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.2164, allocations: 301.1 kB / 0.5877 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.2177, allocations: 0.7066 MB / 0.5884 GB, free: 1.672 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/0.2193, allocations: 1.155 MB / 0.5895 GB, free: 340 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.01079/0.2301, allocations: 4.082 MB / 0.5935 GB, free: 12.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.905e-05/0.2301, allocations: 7.828 kB / 0.5935 GB, free: 12.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007451/0.2375, allocations: 3.312 MB / 0.5967 GB, free: 8.715 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.2376, allocations: 15.94 kB / 0.5967 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.899e-05/0.2376, allocations: 12 kB / 0.5968 GB, free: 8.688 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003109/0.2407, allocations: 1.197 MB / 0.5979 GB, free: 7.477 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.242, allocations: 291.6 kB / 0.5982 GB, free: 7.191 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2565/0.4985, allocations: 15.13 MB / 0.613 GB, free: 66.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.4997, allocations: 84.27 kB / 0.6131 GB, free: 66.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.4999, allocations: 69.91 kB / 0.6131 GB, free: 66.33 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.0009065/0.5008, allocations: 0.4966 MB / 0.6136 GB, free: 66.08 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.501, allocations: 142.3 kB / 0.6138 GB, free: 66.08 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00313/0.5041, allocations: 2.01 MB / 0.6157 GB, free: 65.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.5041, allocations: 14.91 kB / 0.6157 GB, free: 65.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.5041, allocations: 7.406 kB / 0.6157 GB, free: 65.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.5042, allocations: 6.562 kB / 0.6157 GB, free: 65.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006438/0.5106, allocations: 3.762 MB / 0.6194 GB, free: 63.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/0.5106, allocations: 2.531 kB / 0.6194 GB, free: 63.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/0.5123, allocations: 319.8 kB / 0.6197 GB, free: 63.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000546/0.5128, allocations: 199.5 kB / 0.6199 GB, free: 63.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/0.5129, allocations: 46.42 kB / 0.62 GB, free: 63.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004838/0.5178, allocations: 6.674 MB / 0.6265 GB, free: 57.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/0.5178, allocations: 7.281 kB / 0.6265 GB, free: 57.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004296/0.5221, allocations: 2.718 MB / 0.6291 GB, free: 55.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007736/0.5229, allocations: 326.1 kB / 0.6294 GB, free: 55.74 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/0.5231, allocations: 49.02 kB / 0.6295 GB, free: 55.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007006/0.5238, allocations: 56.12 kB / 0.6295 GB, free: 55.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/0.524, allocations: 103.6 kB / 0.6296 GB, free: 55.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.439e-05/0.5241, allocations: 44.77 kB / 0.6297 GB, free: 55.67 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009043/0.525, allocations: 0.6199 MB / 0.6303 GB, free: 55.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.525, allocations: 0 / 0.6303 GB, free: 55.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002009/0.527, allocations: 487.4 kB / 0.6308 GB, free: 55.37 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.003427/0.5305, allocations: 3.319 MB / 0.634 GB, free: 53.42 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003672/0.5341, allocations: 2.626 MB / 0.6366 GB, free: 52.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5341, allocations: 0 / 0.6366 GB, free: 52.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.5356, allocations: 1.197 MB / 0.6377 GB, free: 51.56 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.5368, allocations: 336.3 kB / 0.6381 GB, free: 51.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02245/0.5593, allocations: 17.22 MB / 0.6549 GB, free: 35.17 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000844/0.5601, allocations: 1.529 MB / 0.6564 GB, free: 33.61 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009635/0.5611, allocations: 395.6 kB / 0.6567 GB, free: 33.22 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006362/0.5617, allocations: 0.6204 MB / 0.6573 GB, free: 32.61 MB / 462.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5617, allocations: 0 / 0.6573 GB, free: 32.61 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07819/0.6399, allocations: 39.5 MB / 0.6959 GB, free: 9.359 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.16/15.8, allocations: 19.08 kB / 0.6959 GB, free: 9.344 MB / 478.1 MB " [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: 18.69067766191438] Failed to read output from testmodel.py, exit status != 0: 15.925458753015846 15.943883445 15.770816347 Calling exit ...