Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.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.001799/0.001799, 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.002307/0.002307, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.207/0.207, allocations: 38.54 MB / 353.2 MB, free: 12.54 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_IG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG",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.002045/0.002045, allocations: 63.89 kB / 493.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3393, allocations: 62.46 MB / 0.5428 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.0109/0.3502, allocations: 8.326 MB / 0.5509 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.3602, allocations: 5.579 MB / 0.5563 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007833/0.361, allocations: 37.5 kB / 0.5564 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01259/0.3736, allocations: 5.875 MB / 0.5621 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.3758, allocations: 0.8559 MB / 0.5629 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.3772, allocations: 0.5067 MB / 0.5634 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003849/0.381, allocations: 2.635 MB / 0.566 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008655/0.3819, allocations: 0.5517 MB / 0.5666 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.383, allocations: 0.7901 MB / 0.5673 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001688/0.3847, allocations: 1.125 MB / 0.5684 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002004/0.3849, allocations: 104 kB / 0.5685 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008537/0.3858, allocations: 407.5 kB / 0.5689 GB, free: 9.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006775/0.3864, allocations: 0.6778 MB / 0.5696 GB, free: 8.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008118/0.3872, allocations: 0.6842 MB / 0.5702 GB, free: 8.293 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.3894, allocations: 1.743 MB / 0.5719 GB, free: 6.543 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3894, allocations: 0 / 0.5719 GB, free: 6.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3894, allocations: 0 / 0.5719 GB, free: 6.543 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.133e-05/0.3894, allocations: 4 kB / 0.5719 GB, free: 6.539 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003199/0.3926, allocations: 1.553 MB / 0.5735 GB, free: 4.953 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.3926, allocations: 11.98 kB / 0.5735 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.04e-05/0.3927, allocations: 30.17 kB / 0.5735 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000222/0.3929, allocations: 169.2 kB / 0.5737 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.3944, allocations: 275.8 kB / 0.5739 GB, free: 4.465 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/0.3967, allocations: 0.8694 MB / 0.5748 GB, free: 3.562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.509e-05/0.3968, allocations: 69.98 kB / 0.5748 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005095/0.3973, allocations: 191.8 kB / 0.575 GB, free: 3.309 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/0.4, allocations: 1.564 MB / 0.5766 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.074e-05/0.4, allocations: 4 kB / 0.5766 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.4001, allocations: 39.98 kB / 0.5766 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006393/0.4008, allocations: 149.9 kB / 0.5767 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.4032, allocations: 1.245 MB / 0.578 GB, free: 224 kB / 414.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.009855/0.4131, allocations: 6.372 MB / 0.5842 GB, free: 9.484 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.4148, allocations: 0.8774 MB / 0.585 GB, free: 8.578 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008304/0.4157, allocations: 484.5 kB / 0.5855 GB, free: 8.102 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.798e-05/0.4157, allocations: 16.98 kB / 0.5855 GB, free: 8.086 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.4158, allocations: 43.55 kB / 0.5856 GB, free: 8.035 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 3.206e-06/0.4158, allocations: 4 kB / 0.5856 GB, free: 8.031 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.007326/0.4231, allocations: 3.25 MB / 0.5887 GB, free: 4.758 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/0.4232, allocations: 90.11 kB / 0.5888 GB, free: 4.652 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.4242, allocations: 0.7313 MB / 0.5895 GB, free: 3.906 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.975e-05/0.4243, allocations: 41.7 kB / 0.5896 GB, free: 3.859 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004604/0.4248, allocations: 0.5667 MB / 0.5901 GB, free: 3.285 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003554/0.4251, allocations: 384.8 kB / 0.5905 GB, free: 2.906 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004022/0.4255, allocations: 234.8 kB / 0.5907 GB, free: 2.672 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.4258, allocations: 414.7 kB / 0.5911 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009727/0.4267, allocations: 0.5647 MB / 0.5917 GB, free: 1.691 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.428, allocations: 0.8892 MB / 0.5925 GB, free: 0.6719 MB / 430.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.009071/0.437, allocations: 3.232 MB / 0.5957 GB, free: 13.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.548e-05/0.4371, allocations: 4 kB / 0.5957 GB, free: 13.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006722/0.4438, allocations: 2.698 MB / 0.5983 GB, free: 10.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.4438, allocations: 8 kB / 0.5983 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.4438, allocations: 8 kB / 0.5983 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003182/0.447, allocations: 1.152 MB / 0.5995 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008983/0.4479, allocations: 199.7 kB / 0.5997 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02061/0.4685, allocations: 12.1 MB / 0.6115 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.4697, allocations: 63.95 kB / 0.6115 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002962/0.4699, allocations: 55.98 kB / 0.6116 GB, free: 12.76 MB / 462.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $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: 43 * 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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.001064/0.471, allocations: 389.4 kB / 0.612 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.4713, allocations: 103.3 kB / 0.6121 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002894/0.4742, allocations: 1.265 MB / 0.6133 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.4742, allocations: 8 kB / 0.6133 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.4742, allocations: 8 kB / 0.6133 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.4742, allocations: 3.984 kB / 0.6133 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005424/0.4797, allocations: 2.493 MB / 0.6157 GB, free: 8.402 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.4797, allocations: 4 kB / 0.6157 GB, free: 8.398 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/0.4812, allocations: 271.7 kB / 0.616 GB, free: 8.133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001798/0.4814, allocations: 61.61 kB / 0.6161 GB, free: 8.066 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.4815, allocations: 40.05 kB / 0.6161 GB, free: 8.027 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/0.4837, allocations: 2.625 MB / 0.6187 GB, free: 5.172 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4837, allocations: 0 / 0.6187 GB, free: 5.172 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00302/0.4868, allocations: 1.754 MB / 0.6204 GB, free: 3.371 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005048/0.4873, allocations: 183.2 kB / 0.6206 GB, free: 3.191 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.4874, allocations: 35.98 kB / 0.6206 GB, free: 3.156 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/0.4881, allocations: 39.95 kB / 0.6206 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.4882, allocations: 72.75 kB / 0.6207 GB, free: 3.047 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/0.4883, allocations: 35.98 kB / 0.6207 GB, free: 3.012 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007209/0.489, allocations: 495 kB / 0.6212 GB, free: 2.535 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.489, allocations: 3.938 kB / 0.6212 GB, free: 2.531 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001473/0.4905, allocations: 376 kB / 0.6216 GB, free: 2.164 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],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) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,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.003725/0.4942, allocations: 2.339 MB / 0.6239 GB, free: 15.76 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0046/0.4988, allocations: 2.026 MB / 0.6258 GB, free: 13.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/0.4988, allocations: 8.375 kB / 0.6258 GB, free: 13.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.5001, allocations: 0.7292 MB / 0.6266 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.5014, allocations: 211.6 kB / 0.6268 GB, free: 12.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02859/0.53, allocations: 13.96 MB / 0.6404 GB, free: 14.33 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.5313, allocations: 1.298 MB / 0.6417 GB, free: 13 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009841/0.5323, allocations: 316 kB / 0.642 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007745/0.5331, allocations: 455.3 kB / 0.6424 GB, free: 12.24 MB / 494.1 MB Notification: Performance of SimCode: time 7.02e-07/0.5331, allocations: 4 kB / 0.6424 GB, free: 12.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07896/0.6121, allocations: 31.76 MB / 0.6734 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/16.11, allocations: 0 / 0.6734 GB, free: 12.7 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.08152034203522] Failed to read output from testmodel.py, exit status != 0: 16.305164234014228 16.325736654 15.932278845 Calling exit ...