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.001861/0.001861, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00231/0.00231, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.1906/0.1906, allocations: 38.55 MB / 353.2 MB, free: 12.32 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.002028/0.002028, allocations: 67.89 kB / 493.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.4261, allocations: 62.47 MB / 0.5427 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01384/0.4399, allocations: 10.27 MB / 0.5527 GB, free: 8.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0142/0.4541, allocations: 6.452 MB / 0.559 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002314/0.4564, allocations: 75.94 kB / 0.5591 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02885/0.4853, allocations: 14.36 MB / 0.5731 GB, free: 5.055 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00402/0.4893, allocations: 1.14 MB / 0.5742 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002327/0.4916, allocations: 0.7174 MB / 0.5749 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007272/0.4989, allocations: 4.188 MB / 0.579 GB, free: 15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001823/0.5007, allocations: 0.8631 MB / 0.5799 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/0.5031, allocations: 1.16 MB / 0.581 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003014/0.5062, allocations: 1.565 MB / 0.5825 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006521/0.5068, allocations: 148 kB / 0.5827 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/0.509, allocations: 0.5656 MB / 0.5832 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00179/0.5108, allocations: 0.9232 MB / 0.5841 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002609/0.5134, allocations: 0.8165 MB / 0.5849 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004955/0.5184, allocations: 2.592 MB / 0.5875 GB, free: 6.312 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.5184, allocations: 7.922 kB / 0.5875 GB, free: 6.305 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.228e-06/0.5184, allocations: 4 kB / 0.5875 GB, free: 6.301 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001134/0.5185, allocations: 0 / 0.5875 GB, free: 6.301 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.006286/0.5248, allocations: 2.205 MB / 0.5896 GB, free: 4.051 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.5249, allocations: 11.98 kB / 0.5896 GB, free: 4.039 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.257e-05/0.5249, allocations: 42.88 kB / 0.5897 GB, free: 3.996 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003719/0.5253, allocations: 236.5 kB / 0.5899 GB, free: 3.754 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002273/0.5276, allocations: 394.9 kB / 0.5903 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003351/0.5309, allocations: 1.232 MB / 0.5915 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.531, allocations: 102.7 kB / 0.5916 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006376/0.5317, allocations: 243.8 kB / 0.5918 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003867/0.5355, allocations: 2.203 MB / 0.594 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.827e-05/0.5356, allocations: 7.938 kB / 0.594 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.5357, allocations: 55.98 kB / 0.594 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006553/0.5364, allocations: 190.8 kB / 0.5942 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003462/0.5399, allocations: 1.83 MB / 0.596 GB, free: 13.36 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.01359/0.5535, allocations: 7.596 MB / 0.6034 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002728/0.5562, allocations: 1.383 MB / 0.6048 GB, free: 4.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/0.5576, allocations: 0.7571 MB / 0.6055 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.184e-05/0.5577, allocations: 13.31 kB / 0.6055 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.76e-05/0.5577, allocations: 43.88 kB / 0.6056 GB, free: 3.246 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 3.797e-06/0.5577, allocations: 4 kB / 0.6056 GB, free: 3.242 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.02461/0.5823, allocations: 8.487 MB / 0.6138 GB, free: 10.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.5825, allocations: 94.42 kB / 0.6139 GB, free: 10.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/0.5845, allocations: 1.063 MB / 0.615 GB, free: 9.512 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003935/0.5849, allocations: 57.7 kB / 0.615 GB, free: 9.449 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007218/0.5856, allocations: 0.8132 MB / 0.6158 GB, free: 8.625 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006804/0.5863, allocations: 0.612 MB / 0.6164 GB, free: 8.008 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005568/0.5868, allocations: 347.5 kB / 0.6168 GB, free: 7.664 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.587, allocations: 305.1 kB / 0.617 GB, free: 7.363 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001793/0.5888, allocations: 0.8472 MB / 0.6179 GB, free: 6.512 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002044/0.5909, allocations: 1.348 MB / 0.6192 GB, free: 4.957 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.01559/0.6065, allocations: 5.191 MB / 0.6243 GB, free: 15.6 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.441e-05/0.6065, allocations: 7.938 kB / 0.6243 GB, free: 15.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.0105/0.617, allocations: 3.984 MB / 0.6282 GB, free: 11.57 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.617, allocations: 8 kB / 0.6282 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/0.617, allocations: 20.67 kB / 0.6282 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00504/0.6221, allocations: 1.585 MB / 0.6297 GB, free: 9.941 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.6236, allocations: 323.4 kB / 0.63 GB, free: 9.625 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03072/0.6543, allocations: 20.02 MB / 0.6496 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.6562, allocations: 95.92 kB / 0.6497 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003162/0.6565, allocations: 79.98 kB / 0.6498 GB, free: 4.742 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.0013/0.6578, allocations: 0.5479 MB / 0.6503 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003611/0.6582, allocations: 159 kB / 0.6504 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005494/0.6637, allocations: 2.504 MB / 0.6529 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.6637, allocations: 19.94 kB / 0.6529 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/0.6637, allocations: 4 kB / 0.6529 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.773e-05/0.6637, allocations: 7.969 kB / 0.6529 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009605/0.6734, allocations: 4.296 MB / 0.6571 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.6734, allocations: 4.094 kB / 0.6571 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/0.6752, allocations: 339.6 kB / 0.6574 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001645/0.6768, allocations: 0.4897 MB / 0.6579 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002007/0.677, allocations: 55.97 kB / 0.658 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/0.6913, allocations: 11.98 MB / 0.6697 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.607e-06/0.6913, allocations: 7.938 kB / 0.6697 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007407/0.6987, allocations: 3.405 MB / 0.673 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/0.6999, allocations: 302.8 kB / 0.6733 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002671/0.7001, allocations: 51.92 kB / 0.6733 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009581/0.7011, allocations: 75.92 kB / 0.6734 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003974/0.7015, allocations: 137 kB / 0.6735 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.7016, allocations: 51.92 kB / 0.6736 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001131/0.7027, allocations: 0.71 MB / 0.6743 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7027, allocations: 0 / 0.6743 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002633/0.7054, allocations: 0.5937 MB / 0.6749 GB, free: 9.969 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.007308/0.7127, allocations: 4.038 MB / 0.6788 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006192/0.7189, allocations: 3.375 MB / 0.6821 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.7189, allocations: 0 / 0.6821 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003073/0.7219, allocations: 1.823 MB / 0.6839 GB, free: 492 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.7239, allocations: 344.3 kB / 0.6842 GB, free: 152 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04013/0.764, allocations: 19.63 MB / 0.7034 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001692/0.7657, allocations: 1.062 MB / 0.7044 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001487/0.7672, allocations: 433.3 kB / 0.7048 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/0.7683, allocations: 0.7023 MB / 0.7055 GB, free: 9.555 MB / 0.545 GB Notification: Performance of SimCode: time 1.583e-06/0.7683, allocations: 3.938 kB / 0.7055 GB, free: 9.551 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3699/1.138, allocations: 49.4 MB / 0.7538 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.22/18.35, allocations: 18.03 kB / 0.7538 GB, free: 163.8 MB / 0.5606 GB " [Timeout remaining time 641] (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.465517204022035] Failed to read output from testmodel.py, exit status != 0: 18.576570619014092 18.594412636 18.072125538 Calling exit ...