Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.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.0013/0.0013, allocations: 116 kB / 20.43 MB, free: 1.457 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.001404/0.001404, allocations: 209.3 kB / 23.74 MB, free: 4.672 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.1832/0.1832, allocations: 38.53 MB / 352.5 MB, free: 12.53 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.AC3ph.Generation.WindGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine",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.002131/0.002131, allocations: 71.89 kB / 492.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3138, allocations: 62.47 MB / 0.542 GB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.009852/0.3237, allocations: 7.856 MB / 0.5497 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009453/0.3331, allocations: 5.616 MB / 0.5552 GB, free: 5.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007325/0.3339, allocations: 33.44 kB / 0.5552 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0124/0.3463, allocations: 5.841 MB / 0.5609 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.3483, allocations: 0.6844 MB / 0.5616 GB, free: 476 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.3496, allocations: 471.1 kB / 0.562 GB, free: 4 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003484/0.3531, allocations: 2.299 MB / 0.5643 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.3545, allocations: 0.9829 MB / 0.5652 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.3556, allocations: 0.6618 MB / 0.5659 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/0.357, allocations: 0.8058 MB / 0.5667 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000277/0.3572, allocations: 116 kB / 0.5668 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.3583, allocations: 471.4 kB / 0.5672 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006492/0.3589, allocations: 0.4987 MB / 0.5677 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.3599, allocations: 0.6066 MB / 0.5683 GB, free: 9.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.3625, allocations: 1.775 MB / 0.57 GB, free: 7.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3625, allocations: 4 kB / 0.57 GB, free: 7.746 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.3625, allocations: 7.984 kB / 0.57 GB, free: 7.738 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.283e-05/0.3625, allocations: 0 / 0.57 GB, free: 7.738 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003556/0.3661, allocations: 1.398 MB / 0.5714 GB, free: 6.305 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.3661, allocations: 11.98 kB / 0.5714 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002192/0.3663, allocations: 131.3 kB / 0.5715 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008506/0.3672, allocations: 184.1 kB / 0.5717 GB, free: 5.977 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002161/0.3693, allocations: 0.8961 MB / 0.5726 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.519e-05/0.3694, allocations: 65.97 kB / 0.5727 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002179/0.3696, allocations: 91.95 kB / 0.5727 GB, free: 4.895 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.3714, allocations: 1.067 MB / 0.5738 GB, free: 3.785 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.3715, allocations: 4 kB / 0.5738 GB, free: 3.781 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.94e-05/0.3716, allocations: 32 kB / 0.5738 GB, free: 3.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002265/0.3718, allocations: 77.89 kB / 0.5739 GB, free: 3.676 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.3733, allocations: 0.8391 MB / 0.5747 GB, free: 2.832 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006701/0.38, allocations: 3.899 MB / 0.5785 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.3812, allocations: 0.5223 MB / 0.579 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004743/0.3817, allocations: 298.2 kB / 0.5793 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.135e-05/0.3817, allocations: 4.5 kB / 0.5793 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.3818, allocations: 39.06 kB / 0.5794 GB, free: 13.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.204e-06/0.3818, allocations: 0 / 0.5794 GB, free: 13.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005134/0.3869, allocations: 2.389 MB / 0.5817 GB, free: 11.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.448e-05/0.387, allocations: 111.5 kB / 0.5818 GB, free: 11.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009774/0.388, allocations: 0.7075 MB / 0.5825 GB, free: 10.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.923e-05/0.388, allocations: 41.7 kB / 0.5825 GB, free: 10.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.3884, allocations: 492.2 kB / 0.583 GB, free: 10.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.3887, allocations: 253.8 kB / 0.5832 GB, free: 9.809 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/0.3889, allocations: 146.6 kB / 0.5834 GB, free: 9.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002255/0.3891, allocations: 402.8 kB / 0.5838 GB, free: 9.258 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005263/0.3896, allocations: 305.8 kB / 0.5841 GB, free: 8.957 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/0.3903, allocations: 0.5111 MB / 0.5846 GB, free: 8.355 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00397/0.3943, allocations: 1.597 MB / 0.5861 GB, free: 6.676 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3943, allocations: 0 / 0.5861 GB, free: 6.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002471/0.3968, allocations: 1.267 MB / 0.5873 GB, free: 5.395 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.3968, allocations: 8 kB / 0.5874 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.3968, allocations: 4 kB / 0.5874 GB, free: 5.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.398, allocations: 410.2 kB / 0.5878 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005523/0.3985, allocations: 151.7 kB / 0.5879 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00844/0.407, allocations: 6.031 MB / 0.5938 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.4075, allocations: 27.95 kB / 0.5938 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.641e-05/0.4076, allocations: 35.98 kB / 0.5938 GB, free: 14.49 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.windGen.WT.turbine.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * 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 initialization (75): * Single equations (assignments): 73 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0005904/0.4082, allocations: 349.5 kB / 0.5942 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.4083, allocations: 83.48 kB / 0.5943 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.4101, allocations: 0.898 MB / 0.5951 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.4101, allocations: 4 kB / 0.5951 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4101, allocations: 4 kB / 0.5951 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.4101, allocations: 7.922 kB / 0.5952 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003644/0.4138, allocations: 1.996 MB / 0.5971 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.4138, allocations: 4 kB / 0.5971 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006375/0.4144, allocations: 115.9 kB / 0.5972 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000574/0.415, allocations: 182.6 kB / 0.5974 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.846e-05/0.4151, allocations: 27.98 kB / 0.5974 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005202/0.4203, allocations: 5.178 MB / 0.6025 GB, free: 5.172 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4203, allocations: 4.031 kB / 0.6025 GB, free: 5.168 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.4224, allocations: 1.274 MB / 0.6037 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003805/0.4228, allocations: 131.4 kB / 0.6038 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.423, allocations: 23.98 kB / 0.6039 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.4233, allocations: 16 kB / 0.6039 GB, free: 3.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.4234, allocations: 52.34 kB / 0.6039 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/0.4235, allocations: 27.98 kB / 0.604 GB, free: 3.602 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007506/0.4242, allocations: 0.4951 MB / 0.6044 GB, free: 3.109 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4242, allocations: 0 / 0.6044 GB, free: 3.109 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001071/0.4253, allocations: 267.9 kB / 0.6047 GB, free: 2.848 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (windGen.generator.i[3],windGen.generator.psi_rd[1],windGen.generator.psi_rq[1],windGen.WT.genRotor.phi,windGen.WT.genRotor.w,windGen.WT.turbine.phi,windGen.WT.turbine.w,windGen.WT.gear.phi,windGen.WT.gear.w,line.i[1],line.i[2]) * 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003905/0.4292, allocations: 2.185 MB / 0.6068 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002303/0.4315, allocations: 1.114 MB / 0.6079 GB, free: 15.63 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.4315, allocations: 0 / 0.6079 GB, free: 15.63 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.4326, allocations: 0.6988 MB / 0.6086 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009877/0.4336, allocations: 174 kB / 0.6088 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01476/0.4484, allocations: 8.653 MB / 0.6172 GB, free: 5.742 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.4495, allocations: 1.142 MB / 0.6183 GB, free: 4.566 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006197/0.4501, allocations: 158.7 kB / 0.6185 GB, free: 4.406 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000618/0.4507, allocations: 355.3 kB / 0.6188 GB, free: 4.059 MB / 462.1 MB Notification: Performance of SimCode: time 1.653e-06/0.4507, allocations: 0 / 0.6188 GB, free: 4.059 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0695/0.5202, allocations: 22.71 MB / 0.641 GB, free: 13.45 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.25/16.77, allocations: 15.19 kB / 0.641 GB, free: 13.44 MB / 494.1 MB " [Timeout remaining time 643] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine_fmu --startTime=0 --stopTime=60 --stepSize=0.06 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.90206648502499] Failed to read output from testmodel.py, exit status != 0: 16.967228123918176 16.993434134 16.627161948 Calling exit ...