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.0008602/0.0008604, allocations: 90.95 kB / 16.65 MB, free: 6.598 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.001002/0.001002, allocations: 180.7 kB / 17.56 MB, free: 6.203 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.277/1.277, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.163/0.163, allocations: 38.08 MB / 330.8 MB, free: 8.527 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003073, allocations: 10.03 kB / 400.7 MB, free: 34.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09664/0.09697, allocations: 59.17 MB / 459.9 MB, free: 7.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.008908/0.1059, allocations: 8.576 MB / 468.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009155/0.1151, allocations: 5.891 MB / 474.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.1163, allocations: 51.69 kB / 474.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008295/0.1246, allocations: 4.736 MB / 479.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.1261, allocations: 0.5798 MB / 479.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.1272, allocations: 412.8 kB / 480.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003575/0.1308, allocations: 2.947 MB / 483.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.1329, allocations: 1.261 MB / 484.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000979/0.1339, allocations: 0.4939 MB / 484.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.1351, allocations: 0.7123 MB / 485.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002104/0.1353, allocations: 52 kB / 485.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008143/0.1361, allocations: 331.6 kB / 485.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005526/0.1367, allocations: 434.7 kB / 486.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007407/0.1374, allocations: 0.5419 MB / 486.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.1391, allocations: 1.616 MB / 488.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.1392, allocations: 0 / 488.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1392, allocations: 0 / 488.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.848e-05/0.1392, allocations: 0 / 488.5 MB, free: 10.29 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.00265/0.1419, allocations: 1.226 MB / 489.7 MB, free: 9.004 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1419, allocations: 8.031 kB / 489.7 MB, free: 8.996 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007538/0.1427, allocations: 155.5 kB / 489.9 MB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.1444, allocations: 0.9442 MB / 490.8 MB, free: 7.859 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.966e-05/0.1445, allocations: 58 kB / 490.9 MB, free: 7.801 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/0.1447, allocations: 91.88 kB / 491 MB, free: 7.711 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.1464, allocations: 1.067 MB / 492 MB, free: 6.605 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/0.1464, allocations: 4 kB / 492 MB, free: 6.602 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.602e-05/0.1465, allocations: 35.92 kB / 492.1 MB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002074/0.1467, allocations: 73.95 kB / 492.2 MB, free: 6.492 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.1481, allocations: 0.8353 MB / 493 MB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00556/0.1536, allocations: 4.02 MB / 497 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009722/0.1546, allocations: 0.6182 MB / 497.6 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004212/0.1551, allocations: 317.7 kB / 497.9 MB, free: 496 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.432e-05/0.1552, allocations: 12.5 kB / 497.9 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.1552, allocations: 39.12 kB / 498 MB, free: 436 kB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 2.985e-06/0.1552, allocations: 0 / 498 MB, free: 436 kB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004515/0.1597, allocations: 2.59 MB / 0.4888 GB, free: 13.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.1598, allocations: 115.4 kB / 0.489 GB, free: 13.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008293/0.1606, allocations: 0.6998 MB / 0.4896 GB, free: 12.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/0.1607, allocations: 33.7 kB / 0.4897 GB, free: 12.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.161, allocations: 487 kB / 0.4901 GB, free: 12.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.1612, allocations: 244.5 kB / 0.4904 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-05/0.1613, allocations: 73.67 kB / 0.4904 GB, free: 12.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1615, allocations: 390.8 kB / 0.4908 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004521/0.1619, allocations: 309.8 kB / 0.4911 GB, free: 11.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005611/0.1625, allocations: 0.5228 MB / 0.4916 GB, free: 10.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003591/0.1661, allocations: 1.672 MB / 0.4933 GB, free: 8.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1661, allocations: 0 / 0.4933 GB, free: 8.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002111/0.1682, allocations: 1.278 MB / 0.4945 GB, free: 7.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.1683, allocations: 8 kB / 0.4945 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.1683, allocations: 8 kB / 0.4945 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.1693, allocations: 405.5 kB / 0.4949 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.1698, allocations: 151.7 kB / 0.495 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006574/0.1764, allocations: 5.734 MB / 0.5006 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004369/0.1768, allocations: 27.98 kB / 0.5007 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.354e-05/0.1769, allocations: 40 kB / 0.5007 GB, free: 1.027 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 sytem: $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.000493/0.1774, allocations: 357.5 kB / 0.5011 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.1775, allocations: 82.97 kB / 0.5011 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1986/0.3761, allocations: 0.8826 MB / 0.502 GB, free: 56.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.3762, allocations: 7.906 kB / 0.502 GB, free: 56.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/0.3762, allocations: 2.812 kB / 0.502 GB, free: 56.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.3762, allocations: 4.406 kB / 0.502 GB, free: 56.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003713/0.38, allocations: 2.008 MB / 0.504 GB, free: 55.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.38, allocations: 1.969 kB / 0.504 GB, free: 55.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005889/0.3806, allocations: 118 kB / 0.5041 GB, free: 55.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005311/0.3811, allocations: 190.5 kB / 0.5043 GB, free: 55.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.495e-05/0.3812, allocations: 26.56 kB / 0.5043 GB, free: 55.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003411/0.3846, allocations: 5.003 MB / 0.5092 GB, free: 51.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.3846, allocations: 2.094 kB / 0.5092 GB, free: 51.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.3864, allocations: 1.272 MB / 0.5104 GB, free: 50.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.3867, allocations: 208.1 kB / 0.5106 GB, free: 50.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.166e-05/0.3868, allocations: 26.59 kB / 0.5106 GB, free: 50.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.3871, allocations: 17.08 kB / 0.5107 GB, free: 50.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.3872, allocations: 47.78 kB / 0.5107 GB, free: 50.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.3873, allocations: 24.38 kB / 0.5107 GB, free: 50.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006503/0.3879, allocations: 0.4897 MB / 0.5112 GB, free: 50.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3879, allocations: 1.25 kB / 0.5112 GB, free: 50.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009679/0.3889, allocations: 249.1 kB / 0.5114 GB, free: 50.34 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.0008754/0.3898, allocations: 418.6 kB / 0.5118 GB, free: 50.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001856/0.3917, allocations: 1.134 MB / 0.513 GB, free: 49.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3917, allocations: 0 / 0.513 GB, free: 49.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008706/0.3925, allocations: 0.7191 MB / 0.5137 GB, free: 49.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009887/0.3935, allocations: 185.1 kB / 0.5138 GB, free: 49.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004086/0.3976, allocations: 3.078 MB / 0.5168 GB, free: 47.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009354/0.3986, allocations: 1.144 MB / 0.518 GB, free: 46.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000515/0.3991, allocations: 165.5 kB / 0.5181 GB, free: 46.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.3993, allocations: 62.28 kB / 0.5182 GB, free: 46.44 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3993, allocations: 0 / 0.5182 GB, free: 46.44 MB / 382.1 MB Notification: Performance of Templates: time 0.01892/0.4182, allocations: 11.79 MB / 0.5297 GB, free: 42.08 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile Environment - environmentSimulation: (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 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches