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: translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.|windGen.generator.slip",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.|windGen.generator.slip",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.00167/0.00167, allocations: 192 kB / 18.63 MB, free: 4.375 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.349/1.349, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1951/0.1951, allocations: 38.04 MB / 330.5 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 62.62 kB / 400.3 MB, free: 33.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1367, allocations: 58.06 MB / 458.3 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.009175/0.1459, allocations: 7.617 MB / 465.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008366/0.1543, allocations: 5.375 MB / 471.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008203/0.1552, allocations: 27.81 kB / 471.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01019/0.1655, allocations: 5.179 MB / 476.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.1672, allocations: 0.6416 MB / 477.2 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.1683, allocations: 450.4 kB / 477.6 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003949/0.1723, allocations: 2.21 MB / 479.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.1737, allocations: 1.124 MB / 480.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.1747, allocations: 0.6305 MB / 481.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009593/0.1757, allocations: 0.7357 MB / 482.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.1759, allocations: 120 kB / 482.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007419/0.1766, allocations: 395.5 kB / 482.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004475/0.1771, allocations: 498.8 kB / 483.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006162/0.1777, allocations: 0.6027 MB / 483.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.1796, allocations: 1.71 MB / 485.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.1796, allocations: 4 kB / 485.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1796, allocations: 0 / 485.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.653e-05/0.1797, allocations: 4 kB / 485.6 MB, free: 11.93 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.003037/0.1827, allocations: 1.421 MB / 487 MB, free: 10.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.1828, allocations: 8.031 kB / 487.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007756/0.1836, allocations: 151.5 kB / 487.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/0.1855, allocations: 0.964 MB / 488.2 MB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.4e-05/0.1856, allocations: 65.97 kB / 488.2 MB, free: 9.223 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.1858, allocations: 87.94 kB / 488.3 MB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.1875, allocations: 1.067 MB / 489.4 MB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.908e-05/0.1875, allocations: 7.906 kB / 489.4 MB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.813e-05/0.1876, allocations: 35.92 kB / 489.4 MB, free: 7.988 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002211/0.1878, allocations: 73.95 kB / 489.5 MB, free: 7.914 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.1893, allocations: 0.8431 MB / 490.3 MB, free: 7.074 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006332/0.1956, allocations: 3.973 MB / 494.3 MB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.1968, allocations: 0.6183 MB / 494.9 MB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/0.1972, allocations: 329.4 kB / 495.3 MB, free: 1.934 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.66e-05/0.1973, allocations: 4.562 kB / 495.3 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.1973, allocations: 39.12 kB / 495.3 MB, free: 1.883 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 2.986e-06/0.1974, allocations: 0 / 495.3 MB, free: 1.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004709/0.2021, allocations: 2.59 MB / 497.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.73e-05/0.2022, allocations: 111.4 kB / 498 MB, free: 15.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009815/0.2032, allocations: 0.6998 MB / 498.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.917e-05/0.2032, allocations: 33.7 kB / 498.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.2035, allocations: 487.1 kB / 499.2 MB, free: 13.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.2037, allocations: 232.6 kB / 499.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/0.204, allocations: 150.6 kB / 499.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.2042, allocations: 390.8 kB / 500 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004591/0.2046, allocations: 306.2 kB / 0.4885 GB, free: 12.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006144/0.2052, allocations: 0.5188 MB / 0.489 GB, free: 12.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003725/0.209, allocations: 1.664 MB / 0.4907 GB, free: 10.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.209, allocations: 7.938 kB / 0.4907 GB, free: 10.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002273/0.2113, allocations: 1.274 MB / 0.4919 GB, free: 9.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.2113, allocations: 11.94 kB / 0.4919 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.2113, allocations: 8 kB / 0.4919 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.2124, allocations: 401.5 kB / 0.4923 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/0.2129, allocations: 151.8 kB / 0.4925 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007482/0.2204, allocations: 6.24 MB / 0.4986 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000636/0.2211, allocations: 27.98 kB / 0.4986 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.237e-05/0.2212, allocations: 36 kB / 0.4986 GB, free: 1.914 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.0005477/0.2217, allocations: 357.6 kB / 0.499 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.2219, allocations: 86.95 kB / 0.499 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.2235, allocations: 0.8994 MB / 0.4999 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.2235, allocations: 4 kB / 0.4999 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2235, allocations: 4 kB / 0.4999 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.2235, allocations: 3.984 kB / 0.4999 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003172/0.2267, allocations: 2.006 MB / 0.5019 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.2267, allocations: 4 kB / 0.5019 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006079/0.2273, allocations: 119.8 kB / 0.502 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005504/0.2279, allocations: 190.4 kB / 0.5022 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.203e-05/0.2279, allocations: 23.98 kB / 0.5022 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004573/0.2325, allocations: 5.484 MB / 0.5076 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.2325, allocations: 4 kB / 0.5076 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.2344, allocations: 1.271 MB / 0.5088 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003929/0.2348, allocations: 208 kB / 0.509 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.2349, allocations: 27.92 kB / 0.509 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.2353, allocations: 16 kB / 0.5091 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.2354, allocations: 44.48 kB / 0.5091 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/0.2355, allocations: 20 kB / 0.5091 GB, free: 6.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006352/0.2361, allocations: 0.4912 MB / 0.5096 GB, free: 6.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2361, allocations: 0 / 0.5096 GB, free: 6.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001029/0.2371, allocations: 248 kB / 0.5098 GB, free: 5.809 MB / 398.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.0009807/0.2381, allocations: 413.5 kB / 0.5102 GB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00205/0.2402, allocations: 1.142 MB / 0.5113 GB, free: 4.375 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2402, allocations: 4.062 kB / 0.5113 GB, free: 4.371 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009174/0.2411, allocations: 0.7139 MB / 0.512 GB, free: 3.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009344/0.2421, allocations: 204.8 kB / 0.5122 GB, free: 3.422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.2459, allocations: 2.479 MB / 0.5147 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1897/0.4356, allocations: 1.142 MB / 0.5158 GB, free: 69.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007006/0.4363, allocations: 161.2 kB / 0.5159 GB, free: 69.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.4366, allocations: 59.27 kB / 0.516 GB, free: 69 MB / 398.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4366, allocations: 0.5312 kB / 0.516 GB, free: 69 MB / 398.1 MB Notification: Performance of Templates: time 0.0235/0.4601, allocations: 12.45 MB / 0.5281 GB, free: 66.74 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile (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 & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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