Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001401/0.001401, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00151/0.00151, allocations: 212.4 kB / 23.73 MB, free: 4.16 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.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.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.1971/0.1971, allocations: 38.55 MB / 352.5 MB, free: 12.28 MB / 286.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.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_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",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.002212/0.002212, allocations: 67.91 kB / 492.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3392, allocations: 62.46 MB / 0.5419 GB, free: 232 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01485/0.354, allocations: 10.29 MB / 0.552 GB, free: 8.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01197/0.366, allocations: 6.465 MB / 0.5583 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.3674, allocations: 70.38 kB / 0.5584 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02656/0.394, allocations: 14.2 MB / 0.5722 GB, free: 5.156 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0035/0.3975, allocations: 1.143 MB / 0.5734 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.3996, allocations: 0.7135 MB / 0.574 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006866/0.4065, allocations: 4.168 MB / 0.5781 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.408, allocations: 0.8515 MB / 0.579 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/0.41, allocations: 1.164 MB / 0.5801 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002742/0.4128, allocations: 1.507 MB / 0.5816 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004197/0.4132, allocations: 152 kB / 0.5817 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.4148, allocations: 0.5539 MB / 0.5822 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001118/0.4159, allocations: 0.9155 MB / 0.5831 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.4171, allocations: 0.8166 MB / 0.5839 GB, free: 9.117 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004745/0.4218, allocations: 2.6 MB / 0.5865 GB, free: 6.508 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4218, allocations: 0 / 0.5865 GB, free: 6.508 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4218, allocations: 0 / 0.5865 GB, free: 6.508 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001073/0.4219, allocations: 4 kB / 0.5865 GB, free: 6.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.005501/0.4274, allocations: 2.213 MB / 0.5886 GB, free: 4.246 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.4275, allocations: 15.98 kB / 0.5887 GB, free: 4.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003346/0.4278, allocations: 232.5 kB / 0.5889 GB, free: 3.992 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/0.43, allocations: 399 kB / 0.5893 GB, free: 3.602 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003388/0.4334, allocations: 1.228 MB / 0.5905 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.4335, allocations: 106.7 kB / 0.5906 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006261/0.4341, allocations: 239.8 kB / 0.5908 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003704/0.4378, allocations: 2.192 MB / 0.5929 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.549e-05/0.4379, allocations: 7.938 kB / 0.5929 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/0.438, allocations: 59.98 kB / 0.593 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006691/0.4387, allocations: 182.8 kB / 0.5932 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003421/0.4421, allocations: 1.834 MB / 0.595 GB, free: 13.61 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.01353/0.4556, allocations: 7.6 MB / 0.6024 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002802/0.4584, allocations: 1.377 MB / 0.6037 GB, free: 4.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.4601, allocations: 0.7571 MB / 0.6045 GB, free: 3.562 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-05/0.4601, allocations: 17.3 kB / 0.6045 GB, free: 3.543 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/0.4602, allocations: 55.81 kB / 0.6045 GB, free: 3.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 3.747e-06/0.4602, allocations: 0 / 0.6045 GB, free: 3.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.02476/0.485, allocations: 8.476 MB / 0.6128 GB, free: 10.95 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/0.485, allocations: 102.3 kB / 0.6129 GB, free: 10.83 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.4866, allocations: 1.094 MB / 0.614 GB, free: 9.723 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001493/0.4867, allocations: 53.73 kB / 0.614 GB, free: 9.664 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007304/0.4875, allocations: 0.7976 MB / 0.6148 GB, free: 8.855 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000624/0.4881, allocations: 0.6158 MB / 0.6154 GB, free: 8.234 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005769/0.4887, allocations: 359.4 kB / 0.6158 GB, free: 7.879 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4888, allocations: 301.1 kB / 0.616 GB, free: 7.582 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.4904, allocations: 0.8511 MB / 0.6169 GB, free: 6.727 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002023/0.4925, allocations: 1.341 MB / 0.6182 GB, free: 5.18 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.01498/0.5074, allocations: 5.191 MB / 0.6232 GB, free: 15.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.941e-05/0.5075, allocations: 4 kB / 0.6233 GB, free: 15.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.009788/0.5172, allocations: 3.988 MB / 0.6271 GB, free: 11.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.457e-05/0.5173, allocations: 12.69 kB / 0.6272 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.078e-05/0.5173, allocations: 16 kB / 0.6272 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005057/0.5224, allocations: 1.593 MB / 0.6287 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.5238, allocations: 311.5 kB / 0.629 GB, free: 9.852 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03007/0.5538, allocations: 20.03 MB / 0.6486 GB, free: 5.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.5554, allocations: 91.94 kB / 0.6487 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/0.5556, allocations: 87.98 kB / 0.6488 GB, free: 4.957 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.001127/0.5567, allocations: 0.5479 MB / 0.6493 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/0.5571, allocations: 163 kB / 0.6494 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005664/0.5627, allocations: 2.491 MB / 0.6519 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/0.5628, allocations: 16 kB / 0.6519 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.5628, allocations: 4 kB / 0.6519 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-05/0.5628, allocations: 11.95 kB / 0.6519 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009669/0.5725, allocations: 4.293 MB / 0.6561 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.5725, allocations: 0 / 0.6561 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/0.5742, allocations: 343.6 kB / 0.6564 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001587/0.5758, allocations: 0.4938 MB / 0.6569 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001635/0.576, allocations: 55.97 kB / 0.657 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/0.5887, allocations: 11.98 MB / 0.6687 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.5887, allocations: 7.969 kB / 0.6687 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006915/0.5957, allocations: 3.409 MB / 0.672 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/0.5967, allocations: 302.7 kB / 0.6723 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/0.597, allocations: 51.98 kB / 0.6723 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/0.5983, allocations: 79.92 kB / 0.6724 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005366/0.5989, allocations: 129 kB / 0.6725 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/0.599, allocations: 47.98 kB / 0.6726 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00175/0.6008, allocations: 0.7139 MB / 0.6733 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6008, allocations: 0 / 0.6733 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003467/0.6043, allocations: 0.5937 MB / 0.6739 GB, free: 10.19 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.009783/0.614, allocations: 4.034 MB / 0.6778 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006598/0.6206, allocations: 3.386 MB / 0.6811 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.6207, allocations: 0 / 0.6811 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00329/0.6239, allocations: 1.819 MB / 0.6829 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/0.6258, allocations: 355.2 kB / 0.6832 GB, free: 368 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0412/0.667, allocations: 19.62 MB / 0.7024 GB, free: 12.01 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002106/0.6691, allocations: 1.066 MB / 0.7034 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001564/0.6706, allocations: 433.3 kB / 0.7038 GB, free: 10.47 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001499/0.6721, allocations: 0.7063 MB / 0.7045 GB, free: 9.766 MB / 0.545 GB Notification: Performance of SimCode: time 1.573e-06/0.6721, allocations: 0 / 0.7045 GB, free: 9.766 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4005/1.073, allocations: 49.05 MB / 0.7524 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/16.05, allocations: 3.938 kB / 0.7524 GB, free: 164.2 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.97273068409413] Failed to read output from testmodel.py, exit status != 0: 16.20976043585688 16.219316216 15.795047712 Calling exit ...