Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.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.00132/0.00132, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001453/0.001453, allocations: 212.2 kB / 24.52 MB, free: 4.074 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.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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.1952/0.1952, allocations: 38.53 MB / 353.2 MB, free: 12.51 MB / 286.1 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_PSGI,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI",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.002288/0.002288, allocations: 67.91 kB / 493.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3764, allocations: 62.46 MB / 0.5428 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01354/0.3899, allocations: 11.31 MB / 0.5538 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.4026, allocations: 7.167 MB / 0.5608 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/0.4044, allocations: 68.72 kB / 0.5609 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02677/0.4311, allocations: 14.47 MB / 0.575 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004139/0.4353, allocations: 1.143 MB / 0.5761 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003166/0.4384, allocations: 0.7134 MB / 0.5768 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00723/0.4457, allocations: 4.188 MB / 0.5809 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/0.4475, allocations: 0.8631 MB / 0.5817 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/0.4498, allocations: 1.16 MB / 0.5829 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00283/0.4526, allocations: 1.569 MB / 0.5844 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006595/0.4533, allocations: 148 kB / 0.5845 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.4551, allocations: 0.5968 MB / 0.5851 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001467/0.4565, allocations: 0.9194 MB / 0.586 GB, free: 8.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001909/0.4584, allocations: 0.9873 MB / 0.587 GB, free: 7.098 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005032/0.4635, allocations: 2.58 MB / 0.5895 GB, free: 4.508 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4635, allocations: 0 / 0.5895 GB, free: 4.508 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4635, allocations: 0 / 0.5895 GB, free: 4.508 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.919e-05/0.4636, allocations: 4 kB / 0.5895 GB, free: 4.504 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.006104/0.4697, allocations: 2.215 MB / 0.5917 GB, free: 2.246 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.4697, allocations: 15.98 kB / 0.5917 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.657e-05/0.4698, allocations: 38.94 kB / 0.5917 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005287/0.4703, allocations: 228.5 kB / 0.592 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002419/0.4727, allocations: 394.9 kB / 0.5923 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003305/0.476, allocations: 1.232 MB / 0.5935 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.4762, allocations: 110.7 kB / 0.5936 GB, free: 192 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007165/0.4769, allocations: 239.8 kB / 0.5939 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003963/0.4808, allocations: 2.196 MB / 0.596 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.578e-05/0.4809, allocations: 11.92 kB / 0.596 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001762/0.4811, allocations: 59.98 kB / 0.5961 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006746/0.4817, allocations: 186.8 kB / 0.5963 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003485/0.4852, allocations: 1.83 MB / 0.598 GB, free: 11.56 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.01288/0.4981, allocations: 8.415 MB / 0.6063 GB, free: 2.742 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/0.5007, allocations: 1.391 MB / 0.6076 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/0.5021, allocations: 0.759 MB / 0.6084 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.978e-05/0.5022, allocations: 21.3 kB / 0.6084 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.5023, allocations: 55.75 kB / 0.6084 GB, free: 496 kB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 3.016e-06/0.5023, allocations: 0 / 0.6084 GB, free: 496 kB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.02537/0.5276, allocations: 8.472 MB / 0.6167 GB, free: 7.961 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.369e-05/0.5277, allocations: 98.36 kB / 0.6168 GB, free: 7.844 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.5293, allocations: 1.071 MB / 0.6178 GB, free: 6.762 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001696/0.5295, allocations: 49.7 kB / 0.6179 GB, free: 6.707 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006962/0.5302, allocations: 0.8131 MB / 0.6187 GB, free: 5.883 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000666/0.5309, allocations: 0.6159 MB / 0.6193 GB, free: 5.262 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006512/0.5315, allocations: 347.4 kB / 0.6196 GB, free: 4.918 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5316, allocations: 309.2 kB / 0.6199 GB, free: 4.613 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/0.5333, allocations: 0.8472 MB / 0.6207 GB, free: 3.762 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/0.5353, allocations: 1.341 MB / 0.6221 GB, free: 2.215 MB / 462.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.01432/0.5497, allocations: 5.191 MB / 0.6271 GB, free: 12.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.45e-05/0.5497, allocations: 7.938 kB / 0.6271 GB, free: 12.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.009832/0.5595, allocations: 3.988 MB / 0.631 GB, free: 8.828 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.5595, allocations: 19.09 kB / 0.631 GB, free: 8.812 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.003e-05/0.5596, allocations: 16 kB / 0.6311 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005124/0.5647, allocations: 1.605 MB / 0.6326 GB, free: 7.172 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.5661, allocations: 315.4 kB / 0.6329 GB, free: 6.863 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03003/0.5961, allocations: 20.28 MB / 0.6527 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.5977, allocations: 91.92 kB / 0.6528 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002642/0.5979, allocations: 80 kB / 0.6529 GB, free: 1.699 MB / 494.1 MB Warning: The initial conditions are over specified. The following 6 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $DER.PI.x = 0.0 $DER.generator.psi_s[2] = 0.0 $DER.generator.psi_s[1] = 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: 66 * 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 (152): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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,3,100.0%), (1,8,100.0%), (1,1,100.0%), (3,24,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.00113/0.5991, allocations: 0.5557 MB / 0.6534 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/0.5994, allocations: 159 kB / 0.6536 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005453/0.6049, allocations: 2.496 MB / 0.656 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.6049, allocations: 16 kB / 0.656 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.6049, allocations: 4 kB / 0.656 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.6049, allocations: 7.969 kB / 0.6561 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009613/0.6146, allocations: 4.488 MB / 0.6604 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.6146, allocations: 4 kB / 0.6604 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/0.6164, allocations: 343.6 kB / 0.6608 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00159/0.618, allocations: 497.6 kB / 0.6612 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001719/0.6182, allocations: 59.97 kB / 0.6613 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/0.6309, allocations: 12.04 MB / 0.6731 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.6309, allocations: 480 / 0.6731 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007235/0.6381, allocations: 3.405 MB / 0.6764 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008797/0.639, allocations: 302.7 kB / 0.6767 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003599/0.6394, allocations: 51.98 kB / 0.6767 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.6404, allocations: 71.92 kB / 0.6768 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003625/0.6408, allocations: 136.9 kB / 0.6769 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.6409, allocations: 51.92 kB / 0.677 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001139/0.6421, allocations: 0.71 MB / 0.6777 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.6421, allocations: 0 / 0.6777 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002217/0.6443, allocations: 0.5937 MB / 0.6782 GB, free: 6.676 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 24 (inertia.w,meterDC.pav,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],inverter2.vDC1,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],PI.x) * 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 (138): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (2,6,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0073/0.6516, allocations: 4.043 MB / 0.6822 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006632/0.6582, allocations: 3.379 MB / 0.6855 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.6582, allocations: 0 / 0.6855 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003393/0.6616, allocations: 1.826 MB / 0.6873 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/0.6636, allocations: 343.6 kB / 0.6876 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03824/0.7019, allocations: 19.63 MB / 0.7068 GB, free: 8.484 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001951/0.7038, allocations: 1.649 MB / 0.7084 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001429/0.7053, allocations: 437.3 kB / 0.7088 GB, free: 6.371 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/0.7064, allocations: 0.7023 MB / 0.7095 GB, free: 5.668 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/0.7064, allocations: 0 / 0.7095 GB, free: 5.668 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3396/1.046, allocations: 50.21 MB / 0.7585 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.96/18, allocations: 10.78 kB / 0.7585 GB, free: 157.1 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_PSGI.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.09964770200895] Failed to read output from testmodel.py, exit status != 0: 18.222295883053448 18.232372387 17.766376207 Calling exit ...