Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001197, allocations: 109.1 kB / 16.62 MB, free: 6.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 189.8 kB / 17.55 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1665/0.1665, allocations: 38.03 MB / 329.4 MB, free: 8.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 67.97 kB / 398.4 MB, free: 34.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1073, allocations: 58.06 MB / 456.5 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.009982/0.1174, allocations: 9.056 MB / 465.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008715/0.1261, allocations: 5.847 MB / 471.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.1273, allocations: 59.62 kB / 471.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0109/0.1382, allocations: 5.225 MB / 476.6 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.1399, allocations: 0.5798 MB / 477.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.1412, allocations: 423.4 kB / 477.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002928/0.1441, allocations: 2.245 MB / 479.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001654/0.1458, allocations: 1.162 MB / 481 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.147, allocations: 0.6422 MB / 481.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.1482, allocations: 0.7786 MB / 482.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003026/0.1486, allocations: 120 kB / 482.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008979/0.1495, allocations: 399.5 kB / 483 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005854/0.1501, allocations: 498.8 kB / 483.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009324/0.151, allocations: 0.6066 MB / 484.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.153, allocations: 1.702 MB / 485.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.153, allocations: 0 / 485.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.153, allocations: 0 / 485.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.547e-05/0.1531, allocations: 0 / 485.8 MB, free: 10.88 MB / 366.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.003117/0.1562, allocations: 1.424 MB / 487.2 MB, free: 9.402 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.729e-05/0.1562, allocations: 19.83 kB / 487.2 MB, free: 9.383 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001524/0.1564, allocations: 135.3 kB / 487.3 MB, free: 9.242 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006646/0.1571, allocations: 151.5 kB / 487.5 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.1586, allocations: 0.9366 MB / 488.4 MB, free: 8.117 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.671e-05/0.1586, allocations: 61.98 kB / 488.5 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.1588, allocations: 99.83 kB / 488.6 MB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.1603, allocations: 1.063 MB / 489.7 MB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.1603, allocations: 7.906 kB / 489.7 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.178e-05/0.1604, allocations: 31.98 kB / 489.7 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002033/0.1606, allocations: 73.95 kB / 489.8 MB, free: 6.742 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.1618, allocations: 0.8392 MB / 490.6 MB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005126/0.167, allocations: 3.997 MB / 494.6 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009146/0.1679, allocations: 0.6222 MB / 495.2 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/0.1683, allocations: 317.1 kB / 495.5 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.026e-05/0.1684, allocations: 12.5 kB / 495.5 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1684, allocations: 43.11 kB / 495.6 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 1.873e-06/0.1684, allocations: 0 / 495.6 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004194/0.1726, allocations: 2.583 MB / 498.2 MB, free: 14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.1727, allocations: 111.4 kB / 498.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007263/0.1734, allocations: 0.6995 MB / 499 MB, free: 13.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.1735, allocations: 38.03 kB / 499 MB, free: 13.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.1738, allocations: 483.2 kB / 499.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.1739, allocations: 236.6 kB / 499.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.1741, allocations: 154.5 kB / 499.9 MB, free: 12.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1743, allocations: 398.8 kB / 0.4885 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004313/0.1747, allocations: 305.8 kB / 0.4888 GB, free: 11.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005544/0.1753, allocations: 0.5149 MB / 0.4893 GB, free: 10.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003401/0.1787, allocations: 1.672 MB / 0.491 GB, free: 9.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1787, allocations: 0 / 0.491 GB, free: 9.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002007/0.1807, allocations: 1.282 MB / 0.4922 GB, free: 7.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1808, allocations: 8 kB / 0.4922 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.1808, allocations: 7.938 kB / 0.4922 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009896/0.1818, allocations: 409.5 kB / 0.4926 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/0.1822, allocations: 143.8 kB / 0.4928 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007088/0.1893, allocations: 6.247 MB / 0.4989 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.1898, allocations: 28 kB / 0.4989 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-05/0.1899, allocations: 35.98 kB / 0.4989 GB, free: 0.707 MB / 382.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.0005593/0.1904, allocations: 357.4 kB / 0.4993 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.1906, allocations: 78.97 kB / 0.4993 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1997/0.3902, allocations: 0.8895 MB / 0.5002 GB, free: 56.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.3903, allocations: 8.203 kB / 0.5002 GB, free: 56.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.3903, allocations: 2.75 kB / 0.5002 GB, free: 56.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.3903, allocations: 3.703 kB / 0.5002 GB, free: 56.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004282/0.3946, allocations: 2.007 MB / 0.5022 GB, free: 55.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.3947, allocations: 2.188 kB / 0.5022 GB, free: 55.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006572/0.3953, allocations: 126 kB / 0.5023 GB, free: 55.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005699/0.3959, allocations: 189.5 kB / 0.5025 GB, free: 55.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.337e-05/0.396, allocations: 21.31 kB / 0.5025 GB, free: 55.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00376/0.3998, allocations: 5.49 MB / 0.5079 GB, free: 50.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.3998, allocations: 1.969 kB / 0.5079 GB, free: 50.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.4017, allocations: 1.27 MB / 0.5091 GB, free: 50.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003633/0.4021, allocations: 208.2 kB / 0.5093 GB, free: 50.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.4023, allocations: 25.34 kB / 0.5093 GB, free: 50.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/0.4027, allocations: 17.03 kB / 0.5093 GB, free: 50.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.4028, allocations: 58.06 kB / 0.5094 GB, free: 50.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.59e-05/0.4029, allocations: 19.41 kB / 0.5094 GB, free: 50.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007815/0.4037, allocations: 0.4898 MB / 0.5099 GB, free: 49.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4037, allocations: 0 / 0.5099 GB, free: 49.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001101/0.4048, allocations: 249.5 kB / 0.5101 GB, free: 49.85 MB / 382.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.002964/0.4078, allocations: 2.115 MB / 0.5122 GB, free: 48.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002268/0.41, allocations: 1.255 MB / 0.5134 GB, free: 48.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.788e-06/0.4101, allocations: 0 / 0.5134 GB, free: 48.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000885/0.411, allocations: 0.7214 MB / 0.5141 GB, free: 47.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009555/0.4119, allocations: 191 kB / 0.5143 GB, free: 47.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/0.4263, allocations: 9.181 MB / 0.5233 GB, free: 42.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009244/0.4273, allocations: 1.15 MB / 0.5244 GB, free: 41.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006285/0.4279, allocations: 163.7 kB / 0.5246 GB, free: 41.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/0.4284, allocations: 350.5 kB / 0.5249 GB, free: 41.23 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4284, allocations: 1.156 kB / 0.5249 GB, free: 41.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.379/2.808, allocations: 20.93 MB / 0.5453 GB, free: 24.94 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/2.808, allocations: 293.4 kB / 0.5456 GB, free: 24.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.662/5.47, allocations: 0 / 0.5456 GB, free: 24.56 MB / 382.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches