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.0018/0.0018, allocations: 115.3 kB / 17.29 MB, free: 6.324 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.001927/0.001927, allocations: 197.3 kB / 18.2 MB, free: 5.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.437/2.437, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3318/0.3318, allocations: 38.03 MB / 330.1 MB, free: 9.039 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002648/0.002648, allocations: 64.58 kB / 398.9 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1723, allocations: 58.06 MB / 457 MB, free: 8.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.0174/0.1897, allocations: 9.064 MB / 466.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0157/0.2055, allocations: 5.835 MB / 471.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001881/0.2074, allocations: 59.62 kB / 472 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01663/0.2241, allocations: 5.239 MB / 477.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003168/0.2273, allocations: 0.5798 MB / 477.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002438/0.2298, allocations: 415.4 kB / 478.2 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005484/0.2353, allocations: 2.249 MB / 480.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002789/0.2381, allocations: 1.159 MB / 481.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/0.2401, allocations: 0.6422 MB / 482.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002016/0.2421, allocations: 0.7825 MB / 483 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005463/0.2427, allocations: 116 kB / 483.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.2443, allocations: 391.5 kB / 483.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.2454, allocations: 0.4988 MB / 484 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001759/0.2472, allocations: 0.5988 MB / 484.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002702/0.2499, allocations: 1.392 MB / 486 MB, free: 11.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.2499, allocations: 0 / 486 MB, free: 11.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.25, allocations: 0 / 486 MB, free: 11.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.072e-05/0.25, allocations: 0 / 486 MB, free: 11.32 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.005573/0.2556, allocations: 1.424 MB / 487.4 MB, free: 9.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.981e-05/0.2557, allocations: 15.89 kB / 487.4 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.2569, allocations: 155.5 kB / 487.6 MB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.2594, allocations: 0.9405 MB / 488.5 MB, free: 8.691 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.155e-05/0.2595, allocations: 62 kB / 488.6 MB, free: 8.629 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002766/0.2598, allocations: 95.88 kB / 488.7 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002659/0.2624, allocations: 1.067 MB / 489.8 MB, free: 7.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.762e-05/0.2625, allocations: 4 kB / 489.8 MB, free: 7.426 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.2626, allocations: 32 kB / 489.8 MB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003063/0.263, allocations: 69.95 kB / 489.9 MB, free: 7.324 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.2649, allocations: 0.8353 MB / 490.7 MB, free: 6.492 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008003/0.2729, allocations: 4.012 MB / 494.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.2744, allocations: 0.6144 MB / 495.3 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006228/0.275, allocations: 321.1 kB / 495.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.788e-05/0.2751, allocations: 16.55 kB / 495.7 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.2752, allocations: 39.12 kB / 495.7 MB, free: 1.258 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 4.648e-06/0.2752, allocations: 7.938 kB / 495.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.007616/0.2828, allocations: 2.579 MB / 498.3 MB, free: 14.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.2829, allocations: 119.4 kB / 498.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.2845, allocations: 0.6956 MB / 499.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.2846, allocations: 41.7 kB / 499.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005146/0.2851, allocations: 475.2 kB / 499.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/0.2855, allocations: 232.7 kB / 499.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003655/0.2859, allocations: 146.6 kB / 500 MB, free: 12.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002411/0.2861, allocations: 398.7 kB / 0.4886 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008256/0.2869, allocations: 305.8 kB / 0.4889 GB, free: 12.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00099/0.288, allocations: 0.515 MB / 0.4894 GB, free: 11.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005945/0.2939, allocations: 1.679 MB / 0.4911 GB, free: 9.746 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-05/0.294, allocations: 4 kB / 0.4911 GB, free: 9.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003763/0.2977, allocations: 1.27 MB / 0.4923 GB, free: 8.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.2978, allocations: 11.94 kB / 0.4923 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.2978, allocations: 8 kB / 0.4923 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001801/0.2996, allocations: 413.5 kB / 0.4927 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000879/0.3005, allocations: 147.8 kB / 0.4929 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.3121, allocations: 6.254 MB / 0.499 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009519/0.3131, allocations: 27.98 kB / 0.499 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/0.3133, allocations: 36 kB / 0.499 GB, free: 1.27 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.0009226/0.3142, allocations: 349.5 kB / 0.4994 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/0.3145, allocations: 79.06 kB / 0.4994 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002503/0.317, allocations: 0.8994 MB / 0.5003 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.3171, allocations: 8 kB / 0.5003 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.3171, allocations: 4 kB / 0.5003 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.3171, allocations: 3.984 kB / 0.5003 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005019/0.3221, allocations: 2.009 MB / 0.5023 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.3222, allocations: 0 / 0.5023 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009432/0.3231, allocations: 123.8 kB / 0.5024 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008015/0.324, allocations: 182.6 kB / 0.5026 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.811e-05/0.3241, allocations: 27.92 kB / 0.5026 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006508/0.3306, allocations: 5.484 MB / 0.508 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.107e-05/0.3306, allocations: 8.312 kB / 0.508 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002992/0.3336, allocations: 1.27 MB / 0.5092 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005431/0.3342, allocations: 212 kB / 0.5094 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002395/0.3345, allocations: 27.94 kB / 0.5094 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006396/0.3351, allocations: 19.98 kB / 0.5095 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.3353, allocations: 44.5 kB / 0.5095 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.431e-05/0.3354, allocations: 23.98 kB / 0.5095 GB, free: 5.887 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001125/0.3365, allocations: 499 kB / 0.51 GB, free: 5.406 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3365, allocations: 4 kB / 0.51 GB, free: 5.402 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001688/0.3382, allocations: 252 kB / 0.5103 GB, free: 5.156 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.001437/0.3397, allocations: 418.2 kB / 0.5106 GB, free: 4.887 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003602/0.3433, allocations: 1.247 MB / 0.5119 GB, free: 3.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/0.3434, allocations: 4 kB / 0.5119 GB, free: 3.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.3449, allocations: 0.7153 MB / 0.5126 GB, free: 2.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.3466, allocations: 186 kB / 0.5127 GB, free: 2.676 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3222/0.6688, allocations: 2.967 MB / 0.5156 GB, free: 69.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002065/0.671, allocations: 1.139 MB / 0.5168 GB, free: 69.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005462/0.6716, allocations: 65.56 kB / 0.5168 GB, free: 69.21 MB / 398.1 MB Notification: Performance of SimCode: time 1.623e-06/0.6716, allocations: 0.75 kB / 0.5168 GB, free: 69.21 MB / 398.1 MB Notification: Performance of Templates: time 0.05872/0.7303, allocations: 22.6 MB / 0.5389 GB, free: 60.96 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 -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