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.001761/0.001761, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002117/0.002117, allocations: 211.5 kB / 23.73 MB, free: 4.387 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.535/1.535, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2193/0.2193, allocations: 38.55 MB / 352.5 MB, free: 12.31 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.00224/0.00224, allocations: 71.89 kB / 492.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3521, allocations: 62.46 MB / 0.5419 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01038/0.3625, allocations: 7.254 MB / 0.549 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.3752, allocations: 5.117 MB / 0.554 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.3762, allocations: 33.06 kB / 0.5541 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01339/0.3896, allocations: 5.692 MB / 0.5596 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.3918, allocations: 0.6883 MB / 0.5603 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.3932, allocations: 474.7 kB / 0.5607 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003635/0.3968, allocations: 2.296 MB / 0.563 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.3982, allocations: 0.9673 MB / 0.5639 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.3993, allocations: 0.6656 MB / 0.5646 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.4004, allocations: 0.7511 MB / 0.5653 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.4006, allocations: 120 kB / 0.5654 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009202/0.4015, allocations: 443.5 kB / 0.5658 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005173/0.4021, allocations: 0.5025 MB / 0.5663 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005646/0.4026, allocations: 497.8 kB / 0.5668 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.4049, allocations: 1.783 MB / 0.5685 GB, free: 8.953 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4049, allocations: 0 / 0.5685 GB, free: 8.953 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4049, allocations: 8 kB / 0.5686 GB, free: 8.945 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.278e-05/0.4049, allocations: 0 / 0.5686 GB, free: 8.945 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.003016/0.4079, allocations: 1.406 MB / 0.5699 GB, free: 7.504 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.408, allocations: 15.98 kB / 0.5699 GB, free: 7.488 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001866/0.4082, allocations: 127.3 kB / 0.5701 GB, free: 7.355 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008494/0.409, allocations: 176.1 kB / 0.5702 GB, free: 7.184 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.4111, allocations: 0.8963 MB / 0.5711 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.434e-05/0.4112, allocations: 61.98 kB / 0.5712 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.4114, allocations: 95.92 kB / 0.5713 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.4133, allocations: 1.107 MB / 0.5723 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.062e-05/0.4133, allocations: 0 / 0.5723 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-05/0.4134, allocations: 28 kB / 0.5724 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002318/0.4136, allocations: 73.95 kB / 0.5724 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.4151, allocations: 0.8353 MB / 0.5733 GB, free: 4.008 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006204/0.4213, allocations: 3.63 MB / 0.5768 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.4224, allocations: 0.5033 MB / 0.5773 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004702/0.4229, allocations: 295.1 kB / 0.5776 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.941e-05/0.4229, allocations: 12.42 kB / 0.5776 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.423, allocations: 39.06 kB / 0.5776 GB, free: 15.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.554e-06/0.423, allocations: 4 kB / 0.5776 GB, free: 15.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005058/0.428, allocations: 2.374 MB / 0.5799 GB, free: 12.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.058e-05/0.4281, allocations: 119.6 kB / 0.5801 GB, free: 12.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.4292, allocations: 0.7191 MB / 0.5808 GB, free: 12.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.165e-05/0.4292, allocations: 41.7 kB / 0.5808 GB, free: 12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004374/0.4297, allocations: 488.5 kB / 0.5813 GB, free: 11.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.4299, allocations: 257.8 kB / 0.5815 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.4302, allocations: 146.6 kB / 0.5817 GB, free: 11.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002405/0.4304, allocations: 394.7 kB / 0.582 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005138/0.4309, allocations: 313.8 kB / 0.5823 GB, free: 10.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007101/0.4316, allocations: 0.54 MB / 0.5829 GB, free: 9.781 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003943/0.4356, allocations: 1.593 MB / 0.5844 GB, free: 8.105 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.4356, allocations: 0 / 0.5844 GB, free: 8.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002462/0.438, allocations: 1.267 MB / 0.5856 GB, free: 6.824 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.4381, allocations: 8 kB / 0.5857 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.4381, allocations: 4 kB / 0.5857 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.4392, allocations: 414.1 kB / 0.5861 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005471/0.4398, allocations: 143.8 kB / 0.5862 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008342/0.4481, allocations: 5.876 MB / 0.5919 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006264/0.4487, allocations: 27.98 kB / 0.592 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.33e-05/0.4488, allocations: 36 kB / 0.592 GB, free: 112 kB / 430.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.0006264/0.4494, allocations: 356.5 kB / 0.5923 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.4496, allocations: 87.48 kB / 0.5924 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.4514, allocations: 0.8902 MB / 0.5933 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.4514, allocations: 8 kB / 0.5933 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.4514, allocations: 0 / 0.5933 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.4514, allocations: 7.984 kB / 0.5933 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00365/0.4551, allocations: 1.798 MB / 0.5951 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.4551, allocations: 16.14 kB / 0.5951 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006428/0.4557, allocations: 115.8 kB / 0.5952 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005954/0.4563, allocations: 186.4 kB / 0.5954 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.603e-05/0.4564, allocations: 20 kB / 0.5954 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005417/0.4618, allocations: 5.143 MB / 0.6004 GB, free: 7.039 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4618, allocations: 0 / 0.6004 GB, free: 7.039 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.4641, allocations: 1.277 MB / 0.6016 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/0.4645, allocations: 139.3 kB / 0.6018 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.4646, allocations: 23.98 kB / 0.6018 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004447/0.465, allocations: 15.95 kB / 0.6018 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.4652, allocations: 56.47 kB / 0.6019 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.4652, allocations: 19.98 kB / 0.6019 GB, free: 5.465 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007271/0.4659, allocations: 0.499 MB / 0.6024 GB, free: 4.969 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4659, allocations: 0 / 0.6024 GB, free: 4.969 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001079/0.467, allocations: 267.8 kB / 0.6026 GB, free: 4.707 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.004089/0.4711, allocations: 2.217 MB / 0.6048 GB, free: 2.629 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002246/0.4733, allocations: 1.107 MB / 0.6059 GB, free: 1.492 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.4734, allocations: 0 / 0.6059 GB, free: 1.492 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.4745, allocations: 0.6978 MB / 0.6066 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.4755, allocations: 183.4 kB / 0.6067 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/0.4919, allocations: 8.643 MB / 0.6152 GB, free: 7.602 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.493, allocations: 0.5443 MB / 0.6157 GB, free: 7.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005977/0.4936, allocations: 162.7 kB / 0.6159 GB, free: 6.855 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006017/0.4942, allocations: 355.3 kB / 0.6162 GB, free: 6.508 MB / 462.1 MB Notification: Performance of SimCode: time 1.423e-06/0.4942, allocations: 0 / 0.6162 GB, free: 6.508 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07349/0.5677, allocations: 22.65 MB / 0.6383 GB, free: 24 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.31, allocations: 11.94 kB / 0.6383 GB, free: 12 kB / 478.1 MB " [Timeout remaining time 646] (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: 17.690059462096542] Failed to read output from testmodel.py, exit status != 0: 14.495822114404291 14.512645861 14.104345771 Calling exit ...