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.001326/0.001326, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001843/0.001843, allocations: 214 kB / 24.52 MB, free: 3.914 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 7.754 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.1887/0.1887, allocations: 38.54 MB / 353.2 MB, free: 12.29 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine",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.002158/0.002158, allocations: 59.91 kB / 493.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3957, allocations: 62.47 MB / 0.5427 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01228/0.408, allocations: 7.23 MB / 0.5498 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.4204, allocations: 5.099 MB / 0.5548 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.4218, allocations: 33.25 kB / 0.5548 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0153/0.4371, allocations: 5.769 MB / 0.5604 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002452/0.4396, allocations: 0.6844 MB / 0.5611 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.4411, allocations: 470.8 kB / 0.5615 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003766/0.4449, allocations: 2.299 MB / 0.5638 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.4466, allocations: 0.9907 MB / 0.5647 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.448, allocations: 0.6579 MB / 0.5654 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.4496, allocations: 0.8019 MB / 0.5662 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003662/0.45, allocations: 120 kB / 0.5663 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.4513, allocations: 447.5 kB / 0.5667 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008139/0.4521, allocations: 0.5103 MB / 0.5672 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.4532, allocations: 493.8 kB / 0.5677 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002671/0.4558, allocations: 1.791 MB / 0.5694 GB, free: 8.824 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4558, allocations: 0 / 0.5694 GB, free: 8.824 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4558, allocations: 3.938 kB / 0.5694 GB, free: 8.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.444e-05/0.4559, allocations: 0 / 0.5694 GB, free: 8.82 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.003363/0.4592, allocations: 1.404 MB / 0.5708 GB, free: 7.383 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.4593, allocations: 15.98 kB / 0.5708 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.323e-05/0.4593, allocations: 18.19 kB / 0.5708 GB, free: 7.348 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/0.4595, allocations: 143.3 kB / 0.571 GB, free: 7.199 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008479/0.4603, allocations: 172.1 kB / 0.5711 GB, free: 7.031 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.4623, allocations: 0.9038 MB / 0.572 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.05e-05/0.4624, allocations: 61.98 kB / 0.5721 GB, free: 6.035 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002099/0.4626, allocations: 87.94 kB / 0.5722 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.4644, allocations: 1.092 MB / 0.5732 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/0.4644, allocations: 0 / 0.5732 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.555e-05/0.4645, allocations: 31.98 kB / 0.5733 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002426/0.4647, allocations: 73.95 kB / 0.5733 GB, free: 4.707 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.4662, allocations: 0.843 MB / 0.5742 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005932/0.4721, allocations: 3.626 MB / 0.5777 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.4732, allocations: 0.5149 MB / 0.5782 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004775/0.4737, allocations: 296.6 kB / 0.5785 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.812e-05/0.4737, allocations: 8.5 kB / 0.5785 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.4737, allocations: 39.06 kB / 0.5785 GB, free: 15.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.615e-06/0.4738, allocations: 3.938 kB / 0.5785 GB, free: 15.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.004961/0.4787, allocations: 2.385 MB / 0.5809 GB, free: 12.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.267e-05/0.4788, allocations: 111.5 kB / 0.581 GB, free: 12.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009406/0.4797, allocations: 0.7075 MB / 0.5817 GB, free: 11.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/0.4798, allocations: 41.7 kB / 0.5817 GB, free: 11.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004106/0.4802, allocations: 0.4885 MB / 0.5822 GB, free: 11.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/0.4804, allocations: 245.9 kB / 0.5824 GB, free: 11.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.4807, allocations: 146.6 kB / 0.5826 GB, free: 10.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000218/0.4809, allocations: 398.7 kB / 0.5829 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004995/0.4814, allocations: 305.8 kB / 0.5832 GB, free: 10.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007313/0.4821, allocations: 0.544 MB / 0.5838 GB, free: 9.641 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004015/0.4861, allocations: 1.585 MB / 0.5853 GB, free: 7.973 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4861, allocations: 336 / 0.5853 GB, free: 7.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002401/0.4885, allocations: 1.271 MB / 0.5865 GB, free: 6.688 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4886, allocations: 8 kB / 0.5866 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.4886, allocations: 11.94 kB / 0.5866 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.4898, allocations: 405.5 kB / 0.5869 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/0.4903, allocations: 147.8 kB / 0.5871 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008267/0.4986, allocations: 5.873 MB / 0.5928 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000622/0.4992, allocations: 31.98 kB / 0.5929 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.449e-05/0.4993, allocations: 32 kB / 0.5929 GB, free: 15.96 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.0005875/0.4998, allocations: 361.5 kB / 0.5932 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.5, allocations: 83.56 kB / 0.5933 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.5018, allocations: 0.8941 MB / 0.5942 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-06/0.5018, allocations: 4 kB / 0.5942 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5018, allocations: 4 kB / 0.5942 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.5018, allocations: 7.984 kB / 0.5942 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/0.5052, allocations: 1.802 MB / 0.596 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5052, allocations: 3.938 kB / 0.596 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006711/0.5059, allocations: 119.9 kB / 0.5961 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005849/0.5064, allocations: 186.6 kB / 0.5963 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.985e-05/0.5065, allocations: 23.98 kB / 0.5963 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005192/0.5117, allocations: 5.139 MB / 0.6013 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/0.5117, allocations: 11.97 kB / 0.6013 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002249/0.514, allocations: 1.27 MB / 0.6025 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003529/0.5143, allocations: 131.4 kB / 0.6027 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.5144, allocations: 20 kB / 0.6027 GB, free: 5.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/0.5148, allocations: 20.09 kB / 0.6027 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.5149, allocations: 56.34 kB / 0.6028 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.515, allocations: 19.94 kB / 0.6028 GB, free: 5.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007554/0.5157, allocations: 0.4951 MB / 0.6033 GB, free: 4.832 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5157, allocations: 0 / 0.6033 GB, free: 4.832 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001102/0.5168, allocations: 267.9 kB / 0.6035 GB, free: 4.57 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.004251/0.5211, allocations: 2.217 MB / 0.6057 GB, free: 2.492 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.5233, allocations: 1.114 MB / 0.6068 GB, free: 1.348 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5233, allocations: 0 / 0.6068 GB, free: 1.348 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.5243, allocations: 0.7031 MB / 0.6075 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.5254, allocations: 175 kB / 0.6076 GB, free: 452 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.5396, allocations: 8.638 MB / 0.6161 GB, free: 7.465 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000747/0.5403, allocations: 0.5482 MB / 0.6166 GB, free: 6.879 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000564/0.5409, allocations: 162.7 kB / 0.6168 GB, free: 6.715 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005312/0.5414, allocations: 359.3 kB / 0.6171 GB, free: 6.363 MB / 462.1 MB Notification: Performance of SimCode: time 1.402e-06/0.5414, allocations: 0 / 0.6171 GB, free: 6.363 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0631/0.6045, allocations: 22.56 MB / 0.6391 GB, free: 15.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/17.16, allocations: 11.92 kB / 0.6391 GB, free: 15.97 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: 20.25928242597729] Failed to read output from testmodel.py, exit status != 0: 17.415488980012015 17.432553336 16.973134128 Calling exit ...