Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.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.001605/0.001605, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001463/0.001463, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.489/1.489, 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 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.1952/0.1952, allocations: 38.52 MB / 353.2 MB, free: 12.55 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_PSGR,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGR",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGR,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGR",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.002022/0.002022, allocations: 66.7 kB / 493.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3455, allocations: 62.47 MB / 0.5428 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01479/0.3603, allocations: 11.22 MB / 0.5537 GB, free: 7.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.373, allocations: 7.178 MB / 0.5607 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/0.3751, allocations: 69.78 kB / 0.5608 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02815/0.4032, allocations: 14.52 MB / 0.575 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003458/0.4067, allocations: 1.12 MB / 0.5761 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002249/0.4089, allocations: 0.6783 MB / 0.5767 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007355/0.4163, allocations: 4.082 MB / 0.5807 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.4181, allocations: 0.8475 MB / 0.5815 GB, free: 12.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002339/0.4205, allocations: 1.109 MB / 0.5826 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002581/0.4231, allocations: 1.522 MB / 0.5841 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003585/0.4234, allocations: 144 kB / 0.5842 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.4248, allocations: 0.5851 MB / 0.5848 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009217/0.4257, allocations: 0.9077 MB / 0.5857 GB, free: 8.414 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.4269, allocations: 0.9562 MB / 0.5866 GB, free: 7.453 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003299/0.4302, allocations: 2.518 MB / 0.5891 GB, free: 4.926 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4302, allocations: 0 / 0.5891 GB, free: 4.926 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4302, allocations: 0 / 0.5891 GB, free: 4.926 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.12e-05/0.4303, allocations: 0 / 0.5891 GB, free: 4.926 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.004917/0.4352, allocations: 2.149 MB / 0.5912 GB, free: 2.734 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.4352, allocations: 11.98 kB / 0.5912 GB, free: 2.723 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.932e-05/0.4353, allocations: 42.86 kB / 0.5912 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003019/0.4356, allocations: 224.2 kB / 0.5915 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/0.4376, allocations: 379 kB / 0.5918 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002919/0.4405, allocations: 1.185 MB / 0.593 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-05/0.4406, allocations: 102.6 kB / 0.5931 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005938/0.4412, allocations: 235.8 kB / 0.5933 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003558/0.4448, allocations: 2.145 MB / 0.5954 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.863e-05/0.4448, allocations: 11.89 kB / 0.5954 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/0.445, allocations: 59.98 kB / 0.5955 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006741/0.4457, allocations: 182.7 kB / 0.5956 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003547/0.4492, allocations: 1.756 MB / 0.5974 GB, free: 12.25 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.01388/0.4631, allocations: 8.468 MB / 0.6056 GB, free: 3.375 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/0.4655, allocations: 1.306 MB / 0.6069 GB, free: 2.055 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.4669, allocations: 0.7157 MB / 0.6076 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-05/0.467, allocations: 25.05 kB / 0.6076 GB, free: 1.309 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/0.467, allocations: 47.56 kB / 0.6077 GB, free: 1.254 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.136e-06/0.4671, allocations: 0 / 0.6077 GB, free: 1.254 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.01985/0.4869, allocations: 7.152 MB / 0.6147 GB, free: 10.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.487, allocations: 90.42 kB / 0.6147 GB, free: 9.938 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.4885, allocations: 1.041 MB / 0.6158 GB, free: 8.883 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000177/0.4886, allocations: 53.7 kB / 0.6158 GB, free: 8.824 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006691/0.4893, allocations: 0.7856 MB / 0.6166 GB, free: 8.027 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005718/0.4899, allocations: 0.5578 MB / 0.6171 GB, free: 7.465 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005256/0.4904, allocations: 335.4 kB / 0.6174 GB, free: 7.133 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4905, allocations: 305.2 kB / 0.6177 GB, free: 6.832 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.4919, allocations: 0.7769 MB / 0.6185 GB, free: 6.055 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/0.4936, allocations: 1.244 MB / 0.6197 GB, free: 4.617 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.01756/0.5112, allocations: 5.614 MB / 0.6252 GB, free: 14.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/0.5112, allocations: 4 kB / 0.6252 GB, free: 14.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01003/0.5212, allocations: 3.781 MB / 0.6289 GB, free: 11.03 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.5213, allocations: 14.81 kB / 0.6289 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.98e-05/0.5213, allocations: 16.03 kB / 0.6289 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006289/0.5276, allocations: 1.736 MB / 0.6306 GB, free: 9.254 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.5288, allocations: 267.5 kB / 0.6309 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02854/0.5573, allocations: 18.09 MB / 0.6485 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.5587, allocations: 87.88 kB / 0.6486 GB, free: 6.352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.5588, allocations: 79.98 kB / 0.6487 GB, free: 6.273 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.generator.psi_rq[1] = 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: 63 * 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 (130): * Single equations (assignments): 126 * 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 {(2,11,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,49), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0009675/0.5598, allocations: 0.5356 MB / 0.6492 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/0.5601, allocations: 151 kB / 0.6494 GB, free: 5.582 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005455/0.5655, allocations: 2.243 MB / 0.6515 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/0.5656, allocations: 19.94 kB / 0.6516 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.5656, allocations: 4 kB / 0.6516 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.988e-05/0.5656, allocations: 11.97 kB / 0.6516 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009341/0.5749, allocations: 4.129 MB / 0.6556 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.575, allocations: 0 / 0.6556 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.5766, allocations: 311.6 kB / 0.6559 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002652/0.5792, allocations: 0.5544 MB / 0.6565 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000205/0.5794, allocations: 51.97 kB / 0.6565 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/0.5916, allocations: 9.637 MB / 0.6659 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.5916, allocations: 4.031 kB / 0.6659 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006925/0.5985, allocations: 3.055 MB / 0.6689 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.5996, allocations: 278.9 kB / 0.6692 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004153/0.6, allocations: 51.92 kB / 0.6692 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.601, allocations: 67.94 kB / 0.6693 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003434/0.6013, allocations: 117 kB / 0.6694 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.6014, allocations: 47.98 kB / 0.6694 GB, free: 244 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00113/0.6026, allocations: 0.6931 MB / 0.6701 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.6026, allocations: 0 / 0.6701 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002107/0.6047, allocations: 0.5702 MB / 0.6707 GB, free: 14.97 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 23 (inertia.w,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],meterDC.pav,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]) * 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 (119): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,9,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007011/0.6117, allocations: 3.686 MB / 0.6743 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005666/0.6173, allocations: 2.996 MB / 0.6772 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.6174, allocations: 0 / 0.6772 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002649/0.62, allocations: 1.529 MB / 0.6787 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.6216, allocations: 339 kB / 0.679 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03788/0.6595, allocations: 18.72 MB / 0.6973 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001803/0.6613, allocations: 1.585 MB / 0.6988 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001333/0.6626, allocations: 408.5 kB / 0.6992 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/0.6637, allocations: 0.6555 MB / 0.6999 GB, free: 236 kB / 0.5294 GB Notification: Performance of SimCode: time 9.32e-07/0.6637, allocations: 0 / 0.6999 GB, free: 236 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3409/1.005, allocations: 48.77 MB / 0.7475 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.95/17.96, allocations: 3.844 kB / 0.7475 GB, free: 169.8 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGR_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGR.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.02454128599493] Failed to read output from testmodel.py, exit status != 0: 18.168611481960397 18.189885994 17.755386571 Calling exit ...