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.001413/0.001413, allocations: 122.2 kB / 18.5 MB, free: 4.562 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.001716/0.001716, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.544/1.544, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.1861/0.1861, allocations: 38.5 MB / 349.4 MB, free: 2.594 MB / 270.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.002879/0.002879, allocations: 67.91 kB / 487.8 MB, free: 22.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1432, allocations: 62.42 MB / 0.5374 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01068/0.1538, allocations: 7.722 MB / 0.5449 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.1642, allocations: 5.588 MB / 0.5504 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000865/0.1651, allocations: 35.75 kB / 0.5504 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01233/0.1774, allocations: 5.224 MB / 0.5555 GB, free: 4.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.1798, allocations: 0.6766 MB / 0.5562 GB, free: 4.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.1811, allocations: 471 kB / 0.5566 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004098/0.1852, allocations: 2.225 MB / 0.5588 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/0.1868, allocations: 0.9557 MB / 0.5597 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.1881, allocations: 0.6656 MB / 0.5604 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.1892, allocations: 0.7942 MB / 0.5611 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001779/0.1894, allocations: 119.9 kB / 0.5613 GB, free: 15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009518/0.1903, allocations: 467.4 kB / 0.5617 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000542/0.1909, allocations: 0.4987 MB / 0.5622 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007202/0.1916, allocations: 0.6027 MB / 0.5628 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002431/0.194, allocations: 1.779 MB / 0.5645 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.194, allocations: 0 / 0.5645 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.194, allocations: 0 / 0.5645 GB, free: 11.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.536e-05/0.1941, allocations: 0 / 0.5645 GB, free: 11.65 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003182/0.1973, allocations: 1.481 MB / 0.566 GB, free: 10.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.1973, allocations: 8.031 kB / 0.566 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.307e-05/0.1973, allocations: 26.19 kB / 0.566 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/0.1975, allocations: 131.3 kB / 0.5661 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008603/0.1984, allocations: 180.1 kB / 0.5663 GB, free: 9.766 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002099/0.2005, allocations: 0.976 MB / 0.5672 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.406e-05/0.2005, allocations: 65.92 kB / 0.5673 GB, free: 8.684 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.2007, allocations: 91.94 kB / 0.5674 GB, free: 8.594 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.2025, allocations: 1.067 MB / 0.5684 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/0.2025, allocations: 7.984 kB / 0.5684 GB, free: 7.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.202e-05/0.2026, allocations: 35.98 kB / 0.5685 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002462/0.2029, allocations: 69.95 kB / 0.5685 GB, free: 7.375 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.2044, allocations: 0.8392 MB / 0.5694 GB, free: 6.535 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006095/0.2105, allocations: 3.99 MB / 0.5733 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.2116, allocations: 0.598 MB / 0.5738 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004678/0.212, allocations: 291.3 kB / 0.5741 GB, free: 1.434 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.887e-05/0.2121, allocations: 4.562 kB / 0.5741 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.2121, allocations: 51.05 kB / 0.5742 GB, free: 1.371 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 3.286e-06/0.2121, allocations: 0 / 0.5742 GB, free: 1.371 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.00522/0.2174, allocations: 2.605 MB / 0.5767 GB, free: 14.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.362e-05/0.2175, allocations: 111.4 kB / 0.5768 GB, free: 14.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.2185, allocations: 0.7075 MB / 0.5775 GB, free: 13.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/0.2186, allocations: 41.7 kB / 0.5776 GB, free: 13.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004343/0.219, allocations: 492.2 kB / 0.578 GB, free: 13.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.2192, allocations: 253.9 kB / 0.5783 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/0.2195, allocations: 150.6 kB / 0.5784 GB, free: 12.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002314/0.2197, allocations: 398.7 kB / 0.5788 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005104/0.2202, allocations: 301.8 kB / 0.5791 GB, free: 12.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007025/0.2209, allocations: 0.5149 MB / 0.5796 GB, free: 11.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004056/0.225, allocations: 1.679 MB / 0.5812 GB, free: 9.805 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.225, allocations: 0 / 0.5812 GB, free: 9.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002586/0.2276, allocations: 1.263 MB / 0.5825 GB, free: 8.527 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.2276, allocations: 12.09 kB / 0.5825 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.2276, allocations: 4 kB / 0.5825 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.2288, allocations: 401.3 kB / 0.5829 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005571/0.2294, allocations: 151.8 kB / 0.583 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009344/0.2387, allocations: 6.232 MB / 0.5891 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000756/0.2395, allocations: 35.94 kB / 0.5891 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.761e-05/0.2395, allocations: 35.98 kB / 0.5892 GB, free: 1.359 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.0006903/0.2402, allocations: 369.4 kB / 0.5895 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.2404, allocations: 83.48 kB / 0.5896 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2976/0.538, allocations: 0.8908 MB / 0.5905 GB, free: 50.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.5381, allocations: 6.875 kB / 0.5905 GB, free: 50.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/0.5381, allocations: 3.516 kB / 0.5905 GB, free: 50.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.929e-05/0.5381, allocations: 5.406 kB / 0.5905 GB, free: 50.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004707/0.5428, allocations: 2.014 MB / 0.5924 GB, free: 50.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.5428, allocations: 2.156 kB / 0.5924 GB, free: 50.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000724/0.5435, allocations: 120.3 kB / 0.5926 GB, free: 50.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007503/0.5443, allocations: 185.7 kB / 0.5927 GB, free: 50.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-05/0.5444, allocations: 27.17 kB / 0.5928 GB, free: 50.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004719/0.5491, allocations: 5.483 MB / 0.5981 GB, free: 45.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.5491, allocations: 2.344 kB / 0.5981 GB, free: 45.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/0.5519, allocations: 1.273 MB / 0.5994 GB, free: 45.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00055/0.5525, allocations: 206.6 kB / 0.5996 GB, free: 44.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.5526, allocations: 23.08 kB / 0.5996 GB, free: 44.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.553, allocations: 17.34 kB / 0.5996 GB, free: 44.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.5531, allocations: 51.88 kB / 0.5996 GB, free: 44.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.82e-05/0.5532, allocations: 23.41 kB / 0.5997 GB, free: 44.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008727/0.5541, allocations: 0.5004 MB / 0.6001 GB, free: 44.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5541, allocations: 0 / 0.6001 GB, free: 44.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001398/0.5555, allocations: 266.5 kB / 0.6004 GB, free: 44.63 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.004594/0.5601, allocations: 2.174 MB / 0.6025 GB, free: 43.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0023/0.5624, allocations: 1.106 MB / 0.6036 GB, free: 42.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.5624, allocations: 0 / 0.6036 GB, free: 42.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009978/0.5634, allocations: 0.696 MB / 0.6043 GB, free: 42.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.5645, allocations: 184 kB / 0.6045 GB, free: 42.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/0.5794, allocations: 8.638 MB / 0.6129 GB, free: 37.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009129/0.5803, allocations: 1.144 MB / 0.614 GB, free: 37.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005974/0.5809, allocations: 163.8 kB / 0.6142 GB, free: 36.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004307/0.5814, allocations: 356 kB / 0.6145 GB, free: 36.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.222e-06/0.5814, allocations: 0 / 0.6145 GB, free: 36.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05567/0.637, allocations: 22.06 MB / 0.6361 GB, free: 20.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.81/16.44, allocations: 11.98 kB / 0.6361 GB, free: 20.41 MB / 446.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 os._exit(0), Time elapsed: 19.51993453502655] Failed to read output from testmodel.py, exit status != 0: 16.667922872002237 16.683395608 16.485989765 Calling exit ...