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.001793/0.001793, 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.002365/0.002365, 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.53/1.53, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.1886/0.1886, allocations: 38.53 MB / 353.2 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="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.002083/0.002083, allocations: 71.89 kB / 493.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3752, allocations: 62.45 MB / 0.5428 GB, free: 300 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01065/0.3859, allocations: 7.855 MB / 0.5504 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009887/0.3958, allocations: 5.626 MB / 0.5559 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006846/0.3964, allocations: 37.75 kB / 0.556 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01288/0.4093, allocations: 5.83 MB / 0.5617 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002646/0.412, allocations: 0.6844 MB / 0.5623 GB, free: 312 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.4133, allocations: 474.8 kB / 0.5628 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004262/0.4176, allocations: 2.296 MB / 0.565 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.4191, allocations: 0.9867 MB / 0.566 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.4203, allocations: 0.6618 MB / 0.5666 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.4215, allocations: 0.7941 MB / 0.5674 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.4217, allocations: 120 kB / 0.5675 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.4228, allocations: 471.4 kB / 0.568 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005922/0.4234, allocations: 0.5064 MB / 0.5685 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007474/0.4241, allocations: 0.6066 MB / 0.5691 GB, free: 9.371 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002852/0.427, allocations: 1.771 MB / 0.5708 GB, free: 7.594 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.427, allocations: 4 kB / 0.5708 GB, free: 7.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.427, allocations: 0 / 0.5708 GB, free: 7.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.47e-05/0.427, allocations: 0 / 0.5708 GB, free: 7.59 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.003445/0.4305, allocations: 1.406 MB / 0.5722 GB, free: 6.148 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.4305, allocations: 11.98 kB / 0.5722 GB, free: 6.137 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.508e-05/0.4305, allocations: 26.19 kB / 0.5722 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/0.4307, allocations: 139.2 kB / 0.5723 GB, free: 5.965 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008678/0.4316, allocations: 172.1 kB / 0.5725 GB, free: 5.797 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/0.4338, allocations: 0.9038 MB / 0.5734 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.968e-05/0.4339, allocations: 58 kB / 0.5734 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/0.4341, allocations: 95.92 kB / 0.5735 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.436, allocations: 1.071 MB / 0.5746 GB, free: 3.602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.168e-05/0.436, allocations: 7.984 kB / 0.5746 GB, free: 3.594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.768e-05/0.4361, allocations: 32 kB / 0.5746 GB, free: 3.562 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002386/0.4363, allocations: 65.95 kB / 0.5747 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.4377, allocations: 0.8392 MB / 0.5755 GB, free: 2.656 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006327/0.4441, allocations: 3.899 MB / 0.5793 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.4451, allocations: 0.5145 MB / 0.5798 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004574/0.4456, allocations: 302.6 kB / 0.5801 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-05/0.4456, allocations: 12.48 kB / 0.5801 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.4457, allocations: 58.92 kB / 0.5802 GB, free: 13.67 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.915e-06/0.4457, allocations: 0 / 0.5802 GB, free: 13.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.004944/0.4506, allocations: 2.373 MB / 0.5825 GB, free: 11.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.125e-05/0.4507, allocations: 111.5 kB / 0.5826 GB, free: 11.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009818/0.4517, allocations: 0.7075 MB / 0.5833 GB, free: 10.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.4517, allocations: 37.7 kB / 0.5833 GB, free: 10.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004118/0.4522, allocations: 496.2 kB / 0.5838 GB, free: 9.875 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.4524, allocations: 253.8 kB / 0.584 GB, free: 9.625 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.4526, allocations: 154.6 kB / 0.5842 GB, free: 9.469 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.4529, allocations: 394.8 kB / 0.5846 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/0.4533, allocations: 305.8 kB / 0.5848 GB, free: 8.773 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007371/0.4541, allocations: 0.5149 MB / 0.5853 GB, free: 8.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003922/0.458, allocations: 1.593 MB / 0.5869 GB, free: 6.492 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.458, allocations: 8 kB / 0.5869 GB, free: 6.484 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002437/0.4605, allocations: 1.259 MB / 0.5881 GB, free: 5.211 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.4605, allocations: 11.12 kB / 0.5881 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.4605, allocations: 12 kB / 0.5882 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.4616, allocations: 405.2 kB / 0.5885 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.4622, allocations: 151.8 kB / 0.5887 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009202/0.4714, allocations: 6.018 MB / 0.5946 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006871/0.4721, allocations: 31.94 kB / 0.5946 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.4722, allocations: 32 kB / 0.5946 GB, free: 14.31 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.000828/0.473, allocations: 361.5 kB / 0.595 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002881/0.4733, allocations: 83.48 kB / 0.5951 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.4753, allocations: 0.8903 MB / 0.5959 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.4753, allocations: 11.98 kB / 0.5959 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.4753, allocations: 4 kB / 0.5959 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.4753, allocations: 3.984 kB / 0.5959 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004143/0.4795, allocations: 2 MB / 0.5979 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.4795, allocations: 0 / 0.5979 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006506/0.4801, allocations: 124 kB / 0.598 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006129/0.4807, allocations: 186.4 kB / 0.5982 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/0.4808, allocations: 23.98 kB / 0.5982 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005928/0.4867, allocations: 5.162 MB / 0.6033 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4868, allocations: 4.062 kB / 0.6033 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/0.4891, allocations: 1.281 MB / 0.6045 GB, free: 3.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004918/0.4896, allocations: 131.4 kB / 0.6046 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.4898, allocations: 20 kB / 0.6047 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/0.4902, allocations: 19.92 kB / 0.6047 GB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.4903, allocations: 56.41 kB / 0.6047 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-05/0.4903, allocations: 19.98 kB / 0.6047 GB, free: 3.418 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007818/0.4911, allocations: 0.4951 MB / 0.6052 GB, free: 2.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4911, allocations: 0 / 0.6052 GB, free: 2.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001243/0.4924, allocations: 263.9 kB / 0.6055 GB, free: 2.672 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.003968/0.4963, allocations: 2.19 MB / 0.6076 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002216/0.4985, allocations: 1.106 MB / 0.6087 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.4986, allocations: 112 / 0.6087 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.4996, allocations: 0.707 MB / 0.6094 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.5006, allocations: 183 kB / 0.6096 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/0.5149, allocations: 8.628 MB / 0.618 GB, free: 5.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/0.5164, allocations: 1.157 MB / 0.6191 GB, free: 4.379 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006726/0.517, allocations: 166.6 kB / 0.6193 GB, free: 4.211 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006086/0.5177, allocations: 355.3 kB / 0.6196 GB, free: 3.863 MB / 462.1 MB Notification: Performance of SimCode: time 1.453e-06/0.5177, allocations: 0 / 0.6196 GB, free: 3.863 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06617/0.5838, allocations: 22.74 MB / 0.6418 GB, free: 13.24 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.16/16.74, allocations: 11.98 kB / 0.6418 GB, free: 13.23 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.932336966972798] Failed to read output from testmodel.py, exit status != 0: 16.982919106958434 17.001382746 16.570742109 Calling exit ...